|
-
Nov 30th, 1999, 01:19 AM
#1
You can use the Navigate2 Method to Open a Copy of the Source Code in Notepad..
Code:
WebBrowser1.Navigate2 "view-source:" & WebBrowser1.LocationURL
------------------
Aaron Young
Analyst Programmer
[email protected]
[email protected]
-
Nov 30th, 1999, 01:57 AM
#2
Lively Member
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
-
Nov 30th, 1999, 02:40 AM
#3
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
------------------
Aaron Young
Analyst Programmer
[email protected]
[email protected]
-
Nov 30th, 1999, 12:35 PM
#4
Lively Member
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).]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|