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