Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Ole error
Message
From
14/01/1999 14:31:04
 
 
To
07/01/1999 16:43:56
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00173805
Message ID:
00176126
Views:
27
VFP has a nice feature that it self register the OCX If it is not already registered, VFP first looks for ActiveX control in the current working directory then in the path.
In your application before going to ActiveX control issue this command,

! /n regsrvr32 /s /u YOURFILE.OCX r

/s is used for silent process

Above command will unregister the OCX from registry and VFP will register
it again with correct parameters.

Try to keep all OCX in current working directory instead of Windows\system directory. Upgrading an OCX in windows system might create problem for other
programs. VFP works fine and even faster by keeping the OCX in the same directory of .EXE.

Regards,
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform