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").Val ue = "bob"
htmdoc.Forms(0).all("form_ age").Valu e = 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
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_
htmdoc.Forms(0).all("form_
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Many thanks for this works a treat
Kind Regards
C