ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   ActiveX registering problem with VBA (https://www.excelbanter.com/excel-programming/291015-re-activex-registering-problem-vba.html)

Keith Willshaw

ActiveX registering problem with VBA
 

"Chris Lardi" wrote in message
...
Hello everybody,

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?


It sounds like there may be a previous version of the control in the
registry.
I have seen this happen if the versions didnt maintain compatibility.

If this is the problem the thing to do is unregister the control, run
regedit and search for any remants in the registry and clean em out



Keith




All times are GMT +1. The time now is 04:18 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com