Information générale
Catégorie:
Codage, syntaxe et commandes
>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,
Hi Bokhari,
That's really useful information; thanks!
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement