preetinagg
asked on
ShellExecute
Is there any pre-defined method which is equivalent of ShellExecute in VC++ or Shell in VB? Or an equivalent of CreateProcess? I want to open any file from inside C# code with application defined by file association. So a .doc file should be opened with Word.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks ,
it worked.
it worked.
// C# Sample
using System;
using System.Diagnostics;
public class ShellExecuter
{
public static void Main()
{
Process.Start("test.doc");
}
}