May 6, 2002 #1 Mistero Programmer Dec 21, 2001 7 0 0 GB I Have recently made a very basic web browser, i'd like to view the source inside vb, just like the view source in explorer. Any ideas? Thanks in advance! G.Orrill
I Have recently made a very basic web browser, i'd like to view the source inside vb, just like the view source in explorer. Any ideas? Thanks in advance! G.Orrill
May 6, 2002 #2 jsnull IS-IT--Management Feb 19, 2002 99 0 0 US 1. Place a textbox on your form with multiline set yes 2. Add the Microsoft Internet Transfer Control to your project 3. Use the following code, modifying as needed, I've put in it form load: Private Sub Form_Load() Dim sURL As String sURL = "http://www.jimnull.com"; Text1.Text = Inet1.OpenURL(sURL) End Sub Jim Null "Solutions by Jim Null" Web: http://www.jimnull.comEmail: jim@jimnull.com Upvote 0 Downvote
1. Place a textbox on your form with multiline set yes 2. Add the Microsoft Internet Transfer Control to your project 3. Use the following code, modifying as needed, I've put in it form load: Private Sub Form_Load() Dim sURL As String sURL = "http://www.jimnull.com"; Text1.Text = Inet1.OpenURL(sURL) End Sub Jim Null "Solutions by Jim Null" Web: http://www.jimnull.comEmail: jim@jimnull.com
May 6, 2002 #3 jsnull IS-IT--Management Feb 19, 2002 99 0 0 US You could also use a rich text box for the output instead of a textbox if you desired. Jim Null "Solutions by Jim Null" Web: http://www.jimnull.comEmail: jim@jimnull.com Upvote 0 Downvote
You could also use a rich text box for the output instead of a textbox if you desired. Jim Null "Solutions by Jim Null" Web: http://www.jimnull.comEmail: jim@jimnull.com