By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,078 Members | 1,317 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,078 IT Pros & Developers. It's quick & easy.

Embed PDF Viewer Object

P: 21
I am looking for a PDF viewer object to embed in a form. I currently have the Autocad dwf viewer object embeded in a form. When I switch to design view Access often crashes. After the crash I can reopen the project but the debugger will not function.

Thanks
Jan 31 '08 #1
Share this Question
Share on Google+
3 Replies


FishVal
Expert 2.5K+
P: 2,653
Hi, sconard.

Try WebBrowser control.

Let us say you put an unbound object frame [acxWebBrowser] to a form. Then in the form module the following code will populate the control.

Expand|Select|Wrap|Line Numbers
  1. Me.acxWebBrowser.Object.Navigate <path to pdf file>
  2.  
Regards,
Fish
Jan 31 '08 #2

P: 21
I tried:

I am having trouble with my debugger so I do not get an error message but the procedure will not fire if I leave uncommented.

WebBrowser3.Object.Navigate = "c:\temp\mkdta\1129200672742AM.pdf"
Hi, sconard.

Try WebBrowser control.

Let us say you put an unbound object frame [acxWebBrowser] to a form. Then in the form module the following code will populate the control.

Expand|Select|Wrap|Line Numbers
  1. Me.acxWebBrowser.Object.Navigate <path to pdf file>
  2.  
Regards,
Fish
Jan 31 '08 #3

FishVal
Expert 2.5K+
P: 2,653
I tried:

I am having trouble with my debugger so I do not get an error message but the procedure will not fire if I leave uncommented.

WebBrowser3.Object.Navigate = "c:\temp\mkdta\1129200672742AM.pdf"
You have a wrong syntax.
Navigate is method, not property.

Expand|Select|Wrap|Line Numbers
  1. WebBrowser3.Object.Navigate "c:\temp\mkdta\1129200672742AM.pdf"
  2.  
Jan 31 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.