Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy Web Page Source from Internet Explorer Programmatically
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Copy Web Page Source from Internet Explorer Programmatically
Miscellaneous
Thread ID:
01253446
Message ID:
01253446
Views:
95
Hi Everyone!

I'm doing screen scrapes of certain websites using the following method:
lcaddr = "http://www.outlandquestsoftware.com"
oBrowser.navigate(lcaddr)
oBrowser.ExecWB(OLECMDID_SELECTALL,LECMDEXECOPT_DONTPROMPTUSER)
oBrowser.ExecWB(OLECMDID_COPY,LECMDEXECOPT_DONTPROMPTUSER)
This does a Select All of the current webpage and then Copies that into my clipboard. This works great but I also want to pull the HTML source under the "View" -> "Source" menu, but I can't figure out how to do this programmatically. I looked at the available commands on MSDN but don't see one for that.

Any ideas would be greatly appreciated!

Thanks!
Kevin Scott
kehvn@carolina.rr.com


Hey! It's not my fault. It's some General named Protection!
Next
Reply
Map
View

Click here to load this message in the networking platform