General information
Category:
Coding, syntax & commands
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only