Click to See Complete Forum and Search --> : how to view source using microsoft Internet web browser component
flecks
Apr 7th, 2000, 04:44 AM
i just want to view the source through the Web browser on my program in wordpad like IE does, i know its kind of a begginer question, but thanks for the help
Well here's what you can do, use the inet control and grab the html file, and it'll show you the source of HTML.. for example:
Add the Internet Transfer Control in the project
then do this
Sub Form_Load()
blah = Inet1.OpenURL "http://www.vb-world.net/index.html"
text1.text = blah
End Sub
that will give you the source code of index.html... (if vb-world.net has that file)
HarryW
Apr 11th, 2000, 05:07 AM
Of course it won't give you script code like VBScript or ASP or PHP because that's interpreted on the server-side. You'll get JavaScript though, as that's client-side.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.