Your solution works perfectly.
I had a little trouble with it on my home computer at first. When I loaded the form with the adobe control, the form would freeze. However, since I had adobe version 7 installed at home I thought I should give version 8 to see it the older version was causing the problem..
Once I upgraded to version 8 everything worked well.
Thanks for the help.
Main Topics
Browse All Topics





by: LSMConsultingPosted on 2007-08-11 at 04:53:20ID: 19675620
ActiveX controls in Access can be difficult to manage at times. In order to get the Intellisense dropdowns, you need to do this:
Dim pdf As AcroPDF
Set pdf = Me.AcroPDF0.Object
With pdf
.LoadFile "G:\Documents and Settings\SomeName\My Documents\SomeArticle.pdf"
.printWithDialog
End With
note the call to .LoadFile ... this will load a PDF, then the call to PrintWithDialog will actually do the heavy work.