PDA

Click to See Complete Forum and Search --> : ExecWB


Aaron Young
Nov 30th, 1999, 12:19 AM
You can use the Navigate2 Method to Open a Copy of the Source Code in Notepad..

WebBrowser1.Navigate2 "view-source:" & WebBrowser1.LocationURL


------------------
Aaron Young
Analyst Programmer
aarony@redwingsoftware.com
adyoung@win.bright.net

ChrisJackson
Nov 30th, 1999, 12:57 AM
Aaron, thanks for your reply! That's exactly what I needed, a way to get to the source code.

But I have one more question, "HOW DID YOU KNOW!" I've been trying to figure this out for days, searching on the Web and going through MSDN's help. I didn't see the code that you provided anywhere. Please, let me know the "source" of your "code!"

Thanks,

Chris

Aaron Young
Nov 30th, 1999, 01:40 AM
view-source: is a Protocol like Http: and MailTo:, which just opens the URL in the Default HTML Editor, for most people Notepad.

Checkout MSDN Online (http://msdn.microsoft.com/workshop/networking/predefined/view-source.asp)

------------------
Aaron Young
Analyst Programmer
aarony@redwingsoftware.com
adyoung@win.bright.net

ChrisJackson
Nov 30th, 1999, 11:35 AM
In conjunction with the Web Browser Control, can this method be used to access the source code of a URL? I know that it can be used to print a web page, but I need to get to the HTML document.

Any suggestions or references to additional information would be appreciated.

Thanks.

Chris

[This message has been edited by ChrisJackson (edited 11-30-1999).]