Re: C# and System.Diagnostics.Process.Start
- From: "nd123rw456@xxxxxxxxx" <nd123rw456@xxxxxxxxx>
- Date: 19 Jul 2005 06:25:11 -0700
Here is a possible solution that I found.
// First create a ProcessStartInfo object.
// First parameter the rundll32.exe command.
// Second parameter the shimgvw.dll command along with the file name.
System.Diagnostics.ProcessStartInfo f = new
System.Diagnostics.ProcessStartInfo
("C:\\windows\\system32\\rundll32.exe",
"C:\\windows\\system32\\shimgvw.dll,ImageView_Fullscreen " +
fileName.TrimEnd (null));
try
{
// Pass the ProcessStartInfo object to the Start function.
System.Diagnostics.Process.Start (f);
}
catch (Exception ex)
{
System.Diagnostics.Debug.WriteLine (ex.ToString ());
}
.
- References:
- C# and System.Diagnostics.Process.Start
- From: nd123rw456@xxxxxxxxx
- C# and System.Diagnostics.Process.Start
- Prev by Date: Re: My Web browser keeps on crashing
- Next by Date: Re: Windows freeze, all but the program I am at had with.
- Previous by thread: C# and System.Diagnostics.Process.Start
- Next by thread: opening m3u files
- Index(es):
Relevant Pages
|