Hi all,
In my Windows application I have a datagrid, each record is correspondent to a file in my local machine, I want to click on the record, and then open the file, if the type is pdf, then Adobe will be started.
Do you know how to do this? I know in Web application it's not a problem, but I don't know how to do this in Windows application.
Thanks.
halifaxdalPosted Nov 3, 2005, 9:55 AM
System.Diagnostics.Process proc =
new Process();proc.StartInfo.FileName = "C:\\Archive Center\\Book1.xls";
proc.StartInfo.ErrorDialog =
true;proc.Start();