I am using MS Access 2003 on Windows Vista
I am trying to open a PDF file from a Report page, using the AcroPDF.dll (inserted the control on the report page, the control's name is AcroPDF4 in my example)
I have this code inside the Report_Open event:
Dim strFilePath As String
strFilePath = "c:\myfile.pdf"
Me.AcroPDF4.Object.src = strFilePath
When I open the report I get the run time error 2725 OLE server isn't registered
There is automatically made a reference to the "Adobe Acrobat 8.0 Browser Control Library 1.0" (I have Adobe Reader 8.0 installed)
If I do exactly the same from a Form (not Report), things go quit well (the PDF is displayed)!!!
Anybody who knows what the problem is???