Sep 19, 2015 01:56 PM
(This post was last modified: Sep 19, 2015 02:16 PM by Uploader.sx.)
Simple Tutorial Today.
I am going to show you how you make a HTML viewer application with save button to save what you typed.
- Add a rich textbox
- Add a Webviewer
- add 2 buttons
and add this code
Code
WebBrowser1.DocumentText = RichTextBox1.TextStep 2:
Double click on your save button and add this code
Double click on your save button and add this code
Code
Dim Save As New SaveFileDialog()
Dim myStreamWriter As System.IO.StreamWriter
Save.Filter = "Text [*.txt*]|*.txt|All Files [*.*]|*.*"
Save.CheckPathExists = True
Save.Title = "Save File"
Save.ShowDialog(Me)
Try
myStreamWriter = System.IO.File.AppendText(Save.FileName)
myStreamWriter.Write(RichTextBox1.Text)
myStreamWriter.Flush()
Catch ex As Exception
End Try
MsgBox("File Saved!")Step 3:
Double click on your exit button and add this code
Double click on your exit button and add this code
Code
EndEnjoy !
Source Download1 : http://rghost.net/84vYJgSYM
Source Download2 : https://mega.nz/#!7RBG3L4a!7kslxKPiWXSKn...lBGWnTrhl8
Best Regards,
RealMafia
Source Download1 : http://rghost.net/84vYJgSYM
Source Download2 : https://mega.nz/#!7RBG3L4a!7kslxKPiWXSKn...lBGWnTrhl8
Best Regards,
RealMafia
Edit: Other tutorial https://hackforums.net/showthread.php?tid=4988870

![[Image: pFO8lWA.jpg]](https://i.imgur.com/pFO8lWA.jpg)


![[Image: jws23wa.png]](https://i.imgur.com/jws23wa.png)