C# --- Can't save the edits to text file openned in notepad from a form1 button1 click event. Help please.
Posted on 2005-03-19
I click a button in a form that opens a file that is selected in a checkedListBox1 in Windows notepad as follows...
private void button6_Click(object sender, System.EventArgs e)
string CustonListFile = (Form1.MYCustomSymbolListsPath + (string)checkedListBox1.SelectedItem);
It launches notepad and the text file fine, however the problem is that although I can edit and use the functionality of the notepad and it's contents, notepad does not allow me to save or save as......the file. It asks me to make sure the path is correct. It shows me however that the path location is correct, because a save as dialoge shows it is saving to the corrrect folder because I can see the other files and the current open file in there etc...
How can I fix this?
Thank you in advance for your help.