i get this error...
An unhandled exception of type 'System.NullReferenceException' occurred in system.windows.forms.dll
Additional information: Object reference not set to an instance of an object.
...when this method...
private void menuItem4_Click(object sender, System.EventArgs e){
richTextBox1.SaveFile("C:/Documents and Settings/All Users/Desktop/save test.rtf"
}
...is run. all i want to do is save the contents of richTextBox1 (a rich text box). help please.
An unhandled exception of type 'System.NullReferenceException' occurred in system.windows.forms.dll
Additional information: Object reference not set to an instance of an object.
...when this method...
private void menuItem4_Click(object sender, System.EventArgs e){
richTextBox1.SaveFile("C:/Documents and Settings/All Users/Desktop/save test.rtf"
}
...is run. all i want to do is save the contents of richTextBox1 (a rich text box). help please.