Private void RunNotepad() { Process Notepadprocess = new Process(); Notepadprocess.StartInfo = new ProcessStartInfo("notepad.exe", "E:\\New.txt"); Notepadprocess.Start(); }
The programmer's notebook is a reference for programmers. Here you can find code snippet's for VB.Net, C# .Net, WPF and many more...
Pages
Opening notepad from C# app
In this post i'll show you how to open notepad windows application from our C# project. This is useful when you want to display a particular text file to a user.
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment