I want to create the "Save" option for the small
Notepad(in vb.net)
I have created this as follows...
Expand|Select|Wrap|Line Numbers
- If SaveFileDialog1.ShowDialog = Windows.Forms.DialogResult.OK Then
- My.Computer.FileSystem.WriteAllText(SaveFileDialog1.FileName, RichTextBox1.Text, True)
- End If
If the user once save the file, then the user make changes in this file in which he was saved...
and then he save the existing file with the changes then one more time "Save As" dialogbox is opens and file is saved as another new file.
In short, the "Save" option is work like the "Save As" option. So How can I create the "Save" option in vb.net(Visual Studio 2008)?
And I also want to create the following options for the notepad
In Edit Menu
• Undo
• Delete
• Find
• Find Next
• Replace
• Go To
• Time/Date
In Format Menu
• Font
Hoe can I open the font dialog?
In View Menu
• Status Bar
Which property I have to use to show or hide the statusbar?
In Help Menu
• View Help
• About Notepad
Can I open the notepad help as the dialog-boxes?
I mean there is any method available for the "notepad help" like the show dialog method?
please help me for this...
It's urgent please help.