TimothyPowell
asked on
Can not create object Acroexch
I am getting an error that Access "Active X control can not create object." I registered the adobe controls and can print from the acropdf object. I want an additional button to allow user to view the PDF. Is there a seperate dll I need to register?
Private Sub Command250_Click()
Dim gApp As Acrobat.CAcroApp
Dim gPDDoc As Acrobat.CAcroPDDoc
Dim avAcr As Acrobat.CAcroAVDoc
Set gApp = CreateObject("AcroExch.App")
Set gPDDoc = CreateObject("AcroExch.PDDoc")
Set avAcr = CreateObject("AcroExch.AVDoc")
gApp.Show
End Sub
When you say you "registered the adobe controls", did you use the full Adobe package and install it? Or did you follow some other specific setup instructions? Items like Adobe are quite dependent on other controls and libraries, and if you simply copied files from your machine to another and registered them you almost certainly won't be able to use them (and may not have the necessary licensing to do so either).
ASKER
I installed the free Adobe reader on my machine. Does this require that I purchase the standard or professional version of the program?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you very very much. I am encouraging my wife to have more children and name them after you!
I think that's a GREAT idea! Good luck with your projects.