Solved Accdb: "WebBrowser" and "AcroPDF" (PDF viewer) (1 Viewer)

vhung

Member
Local time
Today, 12:43
Joined
Jul 8, 2020
Messages
235
>(access web browser won't work): edited, now it works...
>but install Acrobat Reader then reactivate office/windows
>works well, done
>now could use both Web and Adobe
 

Attachments

  • pdfonaccdb2.png
    pdfonaccdb2.png
    225.7 KB · Views: 245
  • pdfweb.png
    pdfweb.png
    235.3 KB · Views: 240
Last edited:

arnelgp

..forever waiting... waiting for jellybean!
Local time
Tomorrow, 03:43
Joined
May 7, 2009
Messages
19,230
it will work as long as you are using x32 office.
on x64 office (ofcourse your os is x64), you cannot view it on adobe reader control
because adobe is only x32 bit.
it will go Outside your form.
 

theDBguy

I’m here to help
Staff member
Local time
Today, 12:43
Joined
Oct 29, 2018
Messages
21,467
I'm not sure I follow this discussion. Can either of you provide some step by step instructions please?

By the way, using the web browser control works for me.
 

vhung

Member
Local time
Today, 12:43
Joined
Jul 8, 2020
Messages
235
>(i cannot succeed using Access WebBrowser) succeeded...
>(instead i used AcrobatReader Control) both...
>(what i have is accdb Form with AcrobatReader Control) and web browser
>On click button the PDF open through an AcrobatReader Control
>not outside the Form but inside the Form
>see attachement
>i still wish Access WebBrowser will work like "sir Arnel and theDBguy said"...
>i used x64 based processor
>(x86) office program
 

Attachments

  • PdfViewer.png
    PdfViewer.png
    528 KB · Views: 215
  • pdfonaccdb2.png
    pdfonaccdb2.png
    225.7 KB · Views: 238
  • pdfweb.png
    pdfweb.png
    235.3 KB · Views: 207
Last edited:

Mike Krailo

Well-known member
Local time
Today, 15:43
Joined
Mar 28, 2020
Messages
1,043
I use a Web Browser control to view pdf's no problem at all in Access (64bit Access). I don't use Adobe though and instead use Foxit Reader which works much better in my opinion.
 

isladogs

MVP / VIP
Local time
Today, 20:43
Joined
Jan 14, 2017
Messages
18,212
I can confirm viewing a PDF also works perfectly for me within Access in a web browser control using Acrobat DC Reader. For example

1599600418474.png


Successfully done in 32-bit A2010 and A365 (both 32-bit & 64-bit)
 

vhung

Member
Local time
Today, 12:43
Joined
Jul 8, 2020
Messages
235
it's so nice to deal with this PDF on accdb
>important is we been able to open it inside access
>foxit reader, adobe reader, or even web browser (adobe and web are different)
>we always seek for the simplest form and effective
 

vhung

Member
Local time
Today, 12:43
Joined
Jul 8, 2020
Messages
235
Everyone who says Microsoft Web Browser connects with PDF
>yes it's true, i got it
>now could use both Web and Adobe
>see attachment
 

Attachments

  • pdfweb.png
    pdfweb.png
    235.3 KB · Views: 228
Last edited:

vhung

Member
Local time
Today, 12:43
Joined
Jul 8, 2020
Messages
235
more fun and accesible to PDF link edit
>double click textbox contains address
>prompt Edit Hyperlink box
>se attachment
 

Attachments

  • pdfHyperlinkEdit.png
    pdfHyperlinkEdit.png
    177 KB · Views: 198

CedarTree

Registered User.
Local time
Today, 15:43
Joined
Mar 2, 2018
Messages
404
I have Acrobat Reader DC installed - can't find out how to register an ActiveX control for this? Please help - Thanks!
I'm using a 64 bit server BTW with Access 2016.

(PS I had been using web browser control but too many other issues so I thought I'd try to get the Adobe control going).
 

isladogs

MVP / VIP
Local time
Today, 20:43
Joined
Jan 14, 2017
Messages
18,212
I don't think an ActiveX control can be used with Acrobat DC Reader and don't see any reason why it would be needed.
As stated in post #6, a PDF file can be viewed in a web browser control in Access
 

CedarTree

Registered User.
Local time
Today, 15:43
Joined
Mar 2, 2018
Messages
404
Thanks. Problem is that Web Browser has other issues. And vhung seemed to suggest he got it working?
One of the issues I run into is when opening PDF in Web Browser control in Access form (IE 11), it ALWAYS prompts to Save or Open. And I can't get it to automatically just open the PDF for viewing.

EDIT: I've tried using RegEdit - tried several promising solutions on Web, etc.
 
Last edited:

isladogs

MVP / VIP
Local time
Today, 20:43
Joined
Jan 14, 2017
Messages
18,212
With apologies to @vhung, it can often be difficult to understand what he is saying due to language issues.

Anyway. I'm saying I can open PDFs in a web browser control in Access without any prompts - it works fine in both 32-bit & 64-bit Access
Try the attached example app which includes a .reg file if needed together with several screenshots of it being used with different file types t
 

Attachments

  • SampleFileViewer.zip
    239.7 KB · Views: 361

CedarTree

Registered User.
Local time
Today, 15:43
Joined
Mar 2, 2018
Messages
404
From what I can tell, the prompt is often a function of which Windows you're running, IE version, etc. (I've googled left and right). So I may be stuck b/c my IT dept has their standards. It really seems to be a question of Internet Explorer, not Access, doing the prompt. So I was trying to see if another kind of Control could handle PDFs.
 

theDBguy

I’m here to help
Staff member
Local time
Today, 12:43
Joined
Oct 29, 2018
Messages
21,467
Thanks. Problem is that Web Browser has other issues. And vhung seemed to suggest he got it working?
One of the issues I run into is when opening PDF in Web Browser control in Access form (IE 11), it ALWAYS prompts to Save or Open. And I can't get it to automatically just open the PDF for viewing.

EDIT: I've tried using RegEdit - tried several promising solutions on Web, etc.
Hi. Maybe you could ask @ironfelix717 how they managed to get the web browser control to work on this other thread.

 

CedarTree

Registered User.
Local time
Today, 15:43
Joined
Mar 2, 2018
Messages
404
I downloaded (thanks) and opened a sample PDF. It prompted me first to open or save. I'm guessing it's an IT policy of some sort.
 

isladogs

MVP / VIP
Local time
Today, 20:43
Joined
Jan 14, 2017
Messages
18,212
have you tried running the .reg file I included? As I stated it works for me in different versions of Windows & Access (32/64-bit) with no prompts
 

theDBguy

I’m here to help
Staff member
Local time
Today, 12:43
Joined
Oct 29, 2018
Messages
21,467
I downloaded (thanks) and opened a sample PDF. It prompted me first to open or save. I'm guessing it's an IT policy of some sort.
It's a matter of system configuration. Unfortunately, I can't specify what you'll need.
 

CedarTree

Registered User.
Local time
Today, 15:43
Joined
Mar 2, 2018
Messages
404
Hi. Maybe you could ask @ironfelix717 how they managed to get the web browser control to work on this other thread.

Not sure I'm following 100%. I am able to open PDFs in Web Browser control. It just gives me a silly prompt to open/save every time. I click on open and it works fine. But the prompt is annoying.
 

CedarTree

Registered User.
Local time
Today, 15:43
Joined
Mar 2, 2018
Messages
404
have you tried running the .reg file I included? As I stated it works for me in different versions of Windows & Access (32/64-bit) with no prompts
I hesitated due to IT policy. But I opened it in Notepad just to check it out. No mention of PDFs. I think it addresses how to behave when opening Office files, but not PDFs.
 

Users who are viewing this thread

Top Bottom