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
CudaEd
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
Loïc
Site Admin
Posts: 5696
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: Cannot create object in Visual Foxpro 9

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

Hello,

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

Regards,

Loïc

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests