Web Browser Control does not show Document property

TicketMan

New member
Local time
Today, 07:47
Joined
Sep 27, 2012
Messages
2
Hi,

I am using MS-Access 2010 and added a Web Browser Control to a form to show files of a specified folder.

The web browser seems to default to a thumbnail view, so to change it to a Detailed View I try to use the following VBA porperty:

WebBrowser1.Document

However, "Document" does not show as a property of my webbrowser so I am lost.

Any help, please? Thanks.
 
Welcome to the Forum,

I would try using the Form Events for On Open or Activate and then use the following code:

WebBrowser1.Navigate "Full Path to document and include the extension.doc"
 
Thank you Trevor.
Unfortunately .Navigate property isn't showing either. Very strange. There is a property .LocationURL which I've tried but that is read only. I wonder if I have the right object in my Form... but it does say it's Web Browser Control.... Should I be adding a Reference in my MS-Access project in order to make the properties available, maybe?
 
.Navigation doesn't show but you still can use it.
 

Users who are viewing this thread

Back
Top Bottom