Skip navigation
ggrewe_IPS
Currently Being Moderated

OLE error code 0x80040000a: Not able to bind to the source

Dec 2, 2010 12:57 PM

We are using MS Visual FoxPro 9, SP2 in our product.  We use the following code to create an OLE Object and open a PDF file before we attach/embed it into the backend database.

 

= GETFILE()

gcfile

 

= CREATEOBJECT('Form') && Create a Form

 

frmOLEForm

 

.ADDOBJECT("oleObject", "oleAddObject") && Add OLE object

frmOLEForm

 

oleAddObject AS OLECONTROL

...

 

DEFINE CLASS

     OLECLASS = "" && Server name DOCUMENTFILE = gcfile && This file must exist OLETYPEALLOWED = 0

    

    

 

ENDDEFINE

 

With Acrobat Reader 9.4.1, this code works fine. With Acrobat Reader X (v10), we recive the following error when issuing the AddObject command;

 

OLE error code 0x80040000a: Not able to bind to the source

 

I have checked the registry and the AcroExch.Document / AcroExch.Document.7 information appears to be registered correctly.  I have tried manually re-registering all the DLL's in the Reader folder, with no luck.  I have been unable to track down what the root cause of this issue might be.  Does anyone have any suggestions?

 
Replies
  • Currently Being Moderated
    Dec 2, 2010 1:50 PM   in reply to ggrewe_IPS

    It would probably work if you disable Protected Mode, since it'll only have a single process in that case, but that hardly fixes the problem for when you want it on.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points