VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

View Source Webbrowser

Juha s�derqvist  (4 Submissions)   Internet/HTML   Visual Basic 3.0   Intermediate   Wed 3rd February 2021

View source - using webbrowser control.
No need of those msinet.ocx which all people always tell to use to get source of HTML-page.
This is a simple and beatiful way to do it.
PS..another even smart way is to add a webbrowser2.visible = false and to change viewsource function to use the hidden one.. instead of the webbrowser1 (which you may use to navigate pages) ; )

Returns
Source of webpage, opens notepad and if html-source is too big automaticly opens wordpad !!

Rate View Source Webbrowser (6(6 Vote))
View Source Webbrowser.bas

View Source Webbrowser Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters