visharad
February 14th, 2008, 03:37 AM
I am using VS 2005 and .Net 2.0
I wrote an application in C# in which I want to launch a local .htm file in default browser. The code is: -
System.Diagnostics.Process.Start(name with full path of the .htm file);
In some systems, I get the error "The system cannot find the file specified".
But after that the file is launched in browser and everything works file. But why does this error come?
Let me know how to solve this problem. Thanks.
I wrote an application in C# in which I want to launch a local .htm file in default browser. The code is: -
System.Diagnostics.Process.Start(name with full path of the .htm file);
In some systems, I get the error "The system cannot find the file specified".
But after that the file is launched in browser and everything works file. But why does this error come?
Let me know how to solve this problem. Thanks.