Results 1 to 3 of 3

Thread: how to view source using microsoft Internet web browser component

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2000
    Posts
    1
    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

  2. #2
    Guest
    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)

  3. #3
    Frenzied Member HarryW's Avatar
    Join Date
    Jan 2000
    Location
    Heiho no michi
    Posts
    1,827
    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.
    Harry.

    "From one thing, know ten thousand things."

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width