Link to home
Start Free TrialLog in
Avatar of jsm11482
jsm11482

asked on

Getting the page source from a WebBrowser control...

Hi, I need to simply get the page source from a webbrowser control.  The source should be returned as string preferably.  Anyone know how I can do this?
Thanks,
Josh
ASKER CERTIFIED SOLUTION
Avatar of AzraSound
AzraSound
Flag of United States of America 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
strSource = WebBrowser.Document.body.innerhtml
Avatar of jsm11482
jsm11482

ASKER

I believe that both of these comments work the same, but since AzraSound was first, thats who'll get the points!

AzraSound: Great answer, exactly what I wanted! Thank you for your time!
-Josh
Glad I could help   :-)