Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Installing OCX controls
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00093102
Message ID:
00093206
Views:
26
>>>Simple question. I would have posted this in the kiddies section, but I couldn't find one.
>>>
>>>I recently downloaded an ActiveX control from the web that sounded interesting. Now that I have this OCX, how do I install it so I can see the ActiveX controls on the tools menu and utilize it in my application development. I placed it in windows/system sub-dir (win95) with the rest of the OCX files but I can't see it in VFP in the activex controls section. Can someone give simple instructions on installing an imported OCX so it can be used by VFP.
>>>
>>>Thanks, and I'll humbly wait for replies.
>>>
>>>John.
>>John,
>>Open tools\options select controls tab, select activex then add and point your new.ocx.
>>Cetin
>
>Hi Cetin,
>
>Here's what I did.
>> downloaded .OCX file
>> put it in windows\system with the other OCX files
>> went to tool\options and selected ActiveX and then add
>> selected my new OCX file and then OK
>
>At this point I am getting an error stating that the file doesn't exist.
>Does anything come to mind why this is happening?
>
>Thanks!
>John.

John, have you registered the OCX? Every new OCX needs to be registered with WIN95 before the system can 'see' it. At the RUN command in Win95 type:
REGSVR32  MYOCX.OCX  
You don't need to add paths if the OCX is in the Windows/System directory. You'll get a confirmation message that the OCX is registered, and then you can proceed.

HTH
Barbara Paltiel, Paltiel Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform