oShell = Createobject( "WScript.Shell") lcfilenew = yourfilename.ocx/dll lcRunCmd = "regsvr32 /s "+lcfilenew nResult = oShell.Run( lcRunCmd, 0, .T.)>I was registering a .dll using regsvr32 called from foxpro with the RUN command , but is it possible to do it in a different way (without using the RUN command)? I mean is there a command to register dlls?