المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Open a text file in Notepad



C# Programming
12-03-2009, 06:52 AM
I have a windows app in which I want to open a text file in Notepad. When a button is clicked, a file dialog must open which lets the user select a file to be opened in notepad. I know how to create an OpenFileDialog, but I don't know how to open the selected file in Notepad. How does one do this?