Arthur Fuller
fuller.artful at gmail.com
Thu Dec 29 16:08:11 CST 2011
I've got a simple little RichTextEditor program working in C#, thanks to a book I'm working through. But the code I have makes a simple assumption, a hard-coded filename to load and read back. That works ok, as do all the buttons (Bold, etc.), but I want to move this up a notch and call the FileSave and FileOpen stuff rather than use the hard-coded filename. Can anyone help me do this? I want the Open button to invoke the standard dialog and the Save button to invoke the standard FileSaveAs dialog. I'm guessing this can be done in a line or two, and I know how to do it from Access, but I don't have any idea how to do it from C#. Any advice most gratefully appreciated. Thanks and to one and all, Happy New Year! You can deduce how exciting is my life, by the fact that I'm doing this as opposed to roasting chestnuts on a fire with a lovely loved one :) -- Arthur Cell: 647.710.1314 Prediction is difficult, especially of the future.