Page 1 of 1

Cannot create object in Visual Foxpro 9

Posted: Fri Aug 09, 2019 12:21 am
by CudaEd
I installed version 9. I ran the _Register for COM.bat batch file. But when attempting to create an object

loTestObject = CREATEOBJECT("GdPicture9.GdPicturePDF")

I get the message below.
OLE error code 0x80070002: The system cannot find the file specified.

I've tried to separately register the PDF dll using the same syntax in the batch file substituting the PDF dll but to no avail.
Any help would be much appreciated.

Re: Cannot create object in Visual Foxpro 9

Posted: Sun Aug 11, 2019 6:41 pm
by Loïc
Hello,

Are you sure you've ran the command with admin privileges?

Regards,

Loïc