Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Registering Controls from inside VFP
Message
From
30/03/2001 15:07:25
 
 
To
30/03/2001 09:06:31
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00490297
Message ID:
00490418
Views:
10
To register DLL or OCX invisible for user you may use the following way:

oShell = CreateObject( "WScript.Shell")
nResult = oShell.Run( "regsvr32 YourDLLOrOCXFile /s", 0, .T.)

nResult will contain 0 if DLL or OCX successfully registered.

With best regards,
Alex

>Is there a way inside VFP (preferably without the RUN command) to determine if a control (DLL or OCX) has been registered, and if not register it?
>
>Bryan A. Jackson
>FOCUS CMC
Alex
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform