Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to register OCX
Message
From
27/06/2005 06:42:10
 
 
To
27/06/2005 05:50:33
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows '98
Network:
Windows 98
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01026641
Message ID:
01026649
Views:
13
>> I want to register this ocx with windows, through vfp codes

Not strictly through VFP code but:

RUN /N <> REGSVR32.EXE <> /S

Where;
<> =windows system directory (normally c:\windows\system32)
<> = ocx you want to register.

The "/S" stops registration confirmation window being shown to screen.

So in your sample it might be:
RUN /N c:\windows\system32\REGSVR32.EXE abc.ocx /S


Gary.
Previous
Reply
Map
View

Click here to load this message in the networking platform