Cannot create object in Visual Foxpro 9

Discussions about GdPicture.NET usage in non managed applications built in vb6, Delphi, vfp, MFC c++ etc...
Post Reply
Posts: 1
Joined: Fri Aug 09, 2019 12:08 am

Cannot create object in Visual Foxpro 9

Post by CudaEd » Fri Aug 09, 2019 12:21 am

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.

User avatar
Site Admin
Posts: 5721
Joined: Tue Oct 17, 2006 10:48 pm
Location: France

Re: Cannot create object in Visual Foxpro 9

Post by Loïc » Sun Aug 11, 2019 6:41 pm


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



Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests