Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to unregister .OCX ActiveX?
Message
 
 
To
23/06/2007 07:03:07
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01235160
Message ID:
01235164
Views:
22
>Another thing, a good way to test for these types of things is to try and instantiate an object of the desired control within a TRY, CATCH, ENDTRY block so that you can take appropaite action and/or inform the user.

This is exactly what I am trying to do. To add Try/Catch to the old code (that was developed under VFP 6) and to load this .ocx on-the-fly. Your suggestion of renaming the .OCX works. I can duplicate the error.

Now I will try to just place the .ocx in the application folder and see if I can load it on-the-fly.

Thank you so much for your help.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Reply
Map
View

Click here to load this message in the networking platform