Hi, I am trying to find out it a DLL exists on another machine but when build this code into an vfp EXE and try to run it on a machine that does not have VFP installed I get this message "Can not load 32 bit c:\page0\vfpOpubTest.dll" Is there a way around this? Thanks
IFFILE("VfpOpubTest.DLL")
TRY
oData = Createobject("VfpOpubTest.TestClass")
CATCHTO oErr
IF oErr.Errorno = 1733 && Class definition is not foundDECLAREINTEGER DllRegisterServer IN VfpOpubTest.TestClass
DllRegisterServer()
ENDIF
ENDTRY
endif