View source command using the WebBrowser control

How can I add a command to a menu to View Source of the current document in the WebBrowser control? The control doesn't seem to expose any methods for doing so. However, you can right-click on the control and a popupmenu will give you this option. I want to implement the same functionality, but from my own menu. One possible answer would be to get a handle on the Document property of the control and, using this, somehow get the HTML from the page and open that text with the default txt app. Any ideas?
masterpoeAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
jjmartinConnect With a Mentor Commented:
Add view-source: to the beginning of the url. (i.e. view-source:http://www.experts-exchange.com)
0
 
masterpoeAuthor Commented:
works for me. are there other actions that you can call from the addressbar?
0
All Courses

From novice to tech pro — start learning today.