You've to install VFP rintime files on that PC.
>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
>
>IF FILE("VfpOpubTest.DLL")
> TRY
> oData = Createobject("VfpOpubTest.TestClass")
> CATCH TO oErr
> IF oErr.Errorno = 1733
> DECLARE INTEGER DllRegisterServer IN VfpOpubTest.TestClass
> DllRegisterServer()
> ENDIF
> ENDTRY
>endif
>
--sb--