Link to home
Start Free TrialLog in
Avatar of chris_msl
chris_msl

asked on

Reading content from embedded active x web browser.

Hi,

I have a vb form with an embedded IE browser of which I can post data to text boxes, submit, and then read data back from text boxes via VB.

I am using the following for this:
ActiveXCtl8.Navigate "http://www.blagblahblah.co.uk/test.php"
Dim htmdoc As HTMLDocument
Set htmdoc = ActiveXCtl8.Document
htmdoc.Forms(0).all("form_name").Value = "bob"
htmdoc.Forms(0).all("form_age").Value = 55
htmdoc.Forms(0).submit

This is working fine, but I need to be able to read other text from the browser that is not in a text box, ie normal html text in the browser. It does not matter if I can only read the text shown of the raw html as I can extrapolate what I need from either.

Any help or advice on this would be greatly appreciated.

(btw: apologies for only 350 points, but I have very few left)

Kind Regards

C
ASKER CERTIFIED SOLUTION
Avatar of TimCottee
TimCottee
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of chris_msl
chris_msl

ASKER

Hi Tim,

Many thanks for this works a treat

Kind Regards

C