VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



The easiest way to retrieve Web page source code.

by ESTINC (1 Submission)
Category: Internet/HTML
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Sun 28th January 2001
Date Added: Mon 8th February 2021
Rating: (1 Votes)

The easiest way to retrieve Web page source code.

Rate The easiest way to retrieve Web page source code.



'and a Command button
'Name the Textbox "txtLink" (this is for entering the URL)

'If txtLink <> "" then get source code
 Dim Source, Source1
 Source1 = Inet1.OpenURL(Me.txtLink.Text)
 
   If Source1 <> "" Then
    RichTextBox1.Text = Source1
    Me.Inet1.Cancel
   Else
    Source = MsgBox("Source code is not available.", vbInformation, "Source Code")
   End If

Download this snippet    Add to My Saved Code

The easiest way to retrieve Web page source code. Comments

No comments have been posted about The easiest way to retrieve Web page source code.. Why not be the first to post a comment about The easiest way to retrieve Web page source code..

Post your comment

Subject:
Message:
0/1000 characters