Tag: helpme
How to make a Html editor with Visual basic 2008
by Installer on Apr.02, 2010, under Vbscript
Please visit my website @ www.nickmeow.tk Here is the code for the form1.vb Public Class Form1 Private Sub openbrowsertoolstripmenuitem_click(byval sender As System.Object, byval e As System.eventargs) Handles openbrowsertoolstripmenuitem.Click form2.show() End Sub Private Sub textbox1_textchanged(byval sender As System.Object, byval e As System.eventargs) Handles textbox1.textchanged Form2.webbrowser1.documenttext = textbox1.Text End Sub Private Sub button1_click(byval sender As System.Object, byval e As System.eventargs) Handles Button1.Click Dim request As System.Net.httpwebrequest = System.Net.httpwebrequest.Create(textbox2.Text) Dim response As System.Net.httpwebresponse = request.getresponse() Dim sr As System.IO.streamreader = New System.IO.streamreader(response.getresponsestream()) Dim sourcecode As String = sr.readtoend() textbox1.Text = sourcecode End Sub End Class Please comment rate and subscirbe add your suggestions in the comments for my next video if you need help comment and ill help you