Opening notepad from own program
C#
3
Posts
2
Posters
0
Views
1
Watching
-
I am trying to, in my web browser, have the show source HTML Option, but i would like it to show up in notepad like internet explorer does. How do i do this? Thanks.
you could try something like this:
void OpenWithNotepad(string f) {
Process proc=new Process();
proc.StartInfo.FileName=@"C:\WINDOWS\system32\notepad.exe";
proc.StartInfo.Arguments=f;
proc.StartInfo.UseShellExecute=true;
proc.Start();
}:)
Luc Pattyn
-
you could try something like this:
void OpenWithNotepad(string f) {
Process proc=new Process();
proc.StartInfo.FileName=@"C:\WINDOWS\system32\notepad.exe";
proc.StartInfo.Arguments=f;
proc.StartInfo.UseShellExecute=true;
proc.Start();
}:)
Luc Pattyn