Hi DBC,
Let Windows select appropriate application for it:
System.Diagnostics.Process Proc = new System.Diagnostics.Process();
Proc.StartInfo.FileName = @"C:\public\Ruby On Rails\Addison.Wesley.Rubyisms.in.Rails.Jul.2006.ch m";
Proc.Start();
PS. You can use this approach for any associated files.
Regards, Alex Meleta
[TechBlog]
http://devkids.blogspot.com
DUI have to write a program, all it has to do is read in the name of
DUthe chm file passed to it and show the chm file.
DU>
DUI wrote a batch file called test.bat and which will accept the chm
DUfile name and it shows the chm file. It works ok, but the dos box is
DUstill open and I don't want the dos window to show up.
DU>
DUAny ideas?
DU>
DUThanks.
DU>