Click to See Complete Forum and Search --> : Update control


R Peate
April 2nd, 2001, 09:23 AM
When ever i make a change to my ActiveX control (it is written in C++) the changes i make are not exposed to VB, it comes up with a compile error saying that the incorrect number of perameters have been passed to a method, but if i only pass the number is recognises it has a run-time error,
does any one know how i can get it to update??

thank you

Clearcode
April 2nd, 2001, 09:31 AM
If you have made a change to the exposed interface of the control (i.e. added parameters to s public sub, function or event) then you need tu unregister and reregister the control before Visual Basic will be aware of these changes.

HTH,
Duncan

-------------------------------------------------
Ex. Datis: Duncan Jones
Merrion Computing Ltd
http://www.merrioncomputing.com