Click here to Skip to main content
15,885,028 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all

I didnt think that this was going to be a big issue but I have now spent a few days try to sort this out and have not yet been successfull.

Before starting out I should state my development environment is:

Windows7
Access 2013

The original intention was to embed a web browser control whose html I could modify before rendering. The idea being that I could highlight certain A tags which contain a certain string. This of course means that I need to get at least the documenttext but guess what! It's not even there!

I have tried every version of browser control and I cannot even get it to recognise the Navigate function. If I open the object library I can see all the sub classes but they are just not being made available to me

I found an article on MSDN which said I should declare:
Dim WithEvents Web_V1 As SHDocVwCtl.WebBrowser

and then
Set Web_V1 = wb2.Object
wb2.Navigate "http://www.microsoft.com/"


but as always this also doesn't work.

Can anybody help. If you have access to Access 2013 and are able to create a form with a browser control that does have all the events and properties then I would be VERY greatfull.

I forgot to mention that I am a newbie to all this so if you can keep the answer as simple as possible I would appreaciate it.

Thanks
Steve
Posted
Updated 16-Sep-13 3:43am
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900