I have added the following code into save and load buttons respectivly
CODE
Private Sub save_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles save.Click
SaveFileDialog1.Title = "Specify Destination Filename"
SaveFileDialog1.Filter = "HTML Files (*.html)|*.html"
SaveFileDialog1.FilterIndex = 1
SaveFileDialog1.OverwritePrompt = True
End Sub
Private Sub load_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles load.Click
OpenFileDialog1.InitialDirectory = "C:\"
OpenFileDialog1.Title = "Select an HTML file"
OpenFileDialog1.FileName = ""
txt1.Text = Text.FromFile(OpenFileDialog1.FileName)
End Sub
It does not work anymore does anybody have any idea why?
This post has been edited by cOrillian: 12 Jan, 2008 - 06:17 AM