How do i make a program that acts in the same way as microsoft word?
The only things i need to know for this program is Saving and Printing the string value in the file.
Printable View
How do i make a program that acts in the same way as microsoft word?
The only things i need to know for this program is Saving and Printing the string value in the file.
Saving:
vb Code:
Private Sub butSave_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles butSave.Click Dim Savefile1 As New SaveFileDialog Savefile1.DefaultExt = ("*.rtf") Savefile1.Filter = "RTF Files|*.rtf" If (Savefile1.ShowDialog = System.Windows.Forms.DialogResult.OK) And (Savefile1.FileName.Length > 0) Then RichTextBox1.SaveFile(Savefile1.FileName) End If End Sub