Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What ocx files for distribution?
Message
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00274258
Message ID:
00274418
Views:
25
BTW, I meant you should search for the name of the ActiveX control and then look at it's InprocServer32 key for the name of the ocx. In your case, search for "Internet Transfer Control".

>>>I made a small app that uses the internet transfer control.
>>>When I move the exe over to my other computer it complains
>>>that with an OLE error code "Class not registered". I
>>>assume that this is because the ocx that it needs is not
>>>on the other computer. How do I know which ocx file needs
>>>copied, where do I put it and how do I register it?
>>>
>>>Thanks for any input!!!
>>>Joe
>>
>>The sure fire way that I know of, is to look for it in your registry. There will be a key for InprocServer32, and you will find the name of the ocx in there.
>>
>>Yes, you need to register each ActiveX control that you use. Normally, this would be done with any good installation program, but you can do it manually too by running RegSvr32 . You can look in help for the options on this.
>
>There were loads of InprocServer32 keys. I searched the MS site and found
>what the ocx name was. I put it in the /system directory and ran
>regsvr32. Now it works fine. Thank you!

Doug Stalter

"According to the proverb, the best things are the most difficult." -Plutarch
Previous
Reply
Map
View

Click here to load this message in the networking platform