Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.win32.programmer.ole,microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default ActiveX registering problem with VBA

"Chris Lardi" wrote in message
...
I'm developing an ActiveX control using MFC and have a problem when

using my control in a VBA project. While developing the control I
decided to test it in Excel. When using a "User form" in a VBA project,
I can add my control to the control pallet and then place it on my form.
When I double-click it, VBA generates a handler for the Error event and
takes me to the code. From here I can select other events to handle from
a list. However, VBA shows the events from a previous version of my
control. It does not show any new events and the parameter list for some
events are inconsistent with the current version of my control. Why is
this?

VBA caches the type library of the control in a file with .oca
extension. Unregister the control, find and delete this file, and
register the control again.
--
With best wishes,
Igor Tandetnik

"For every complex problem, there is a solution that is simple, neat,
and wrong." H.L. Mencken


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
FM20.dll needs re-registering all the time Jacko[_2_] Excel Discussion (Misc queries) 1 May 15th 08 02:22 AM
Excel 2000 ActiveX Control Problem Andy Excel Discussion (Misc queries) 1 March 23rd 06 08:16 PM
ActiveX registering problem with VBA Keith Willshaw Excel Programming 0 February 11th 04 03:07 PM
error in registering msadox.dll Sameer S. Ali Excel Programming 0 September 27th 03 12:09 AM


All times are GMT +1. The time now is 09:44 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"