I have a VBA excel form with a webcontrol that I use for displaying a pdf. It works fine on 32 but crashes on 64. ( no error, just crashes). I tried:
- tested on different machines with 64 Office - it crashes
- I tested various options and it seems like it helps if I show the form before I load the pdf but only once, if I want change the pdf again after that it crashes.
The code I use to update the pdf is:
invoice_review.WebBrowser.Navigate (invoice_path)
Also tried the following but still having the same problem:
invoice_review.WebBrowser.Document.write "<HTML><Body>x<embed src=""" & invoice_path & """ width=""100%"" height=""100%"" /></Body></HTML>"
In event viewer I get this error
Faulting application name: EXCEL.EXE, version: 16.0.14931.20806, time stamp: 0x635d4918
Faulting module name: ntdll.dll, version: 10.0.22000.918, time stamp: 0x57b668f2
Exception code: 0xc0000409
Fault offset: 0x00000000000935cf
Faulting process id: 0x5d58
Faulting application start time: 0x01d8fd4c8af0801a
Faulting application path: C:\Program Files\Microsoft Office\Root\Office16\EXCEL.EXE
Faulting module path: C:\WINDOWS\SYSTEM32\ntdll.dll
Report Id: 03ea2603-9af6-4f74-99a5-ca09598936c6
Faulting package full name:
Faulting package-relative application ID:
I couldn’t find any good way to display the pdf inside a VBA from, the adobe controller is not working properly. Do you have any idea what is wrong or what other option I have for this?
You can try to check if Adobe is installed as add in with IE11 on the not working machine. If somebody can tell me how i can download and install Adobe for IE11 on windows 10, i like to know.