Home     |     .Net Programming    |     cSharp Home    |     Sql Server Home    |     Javascript / Client Side Development     |     Ajax Programming

Ruby on Rails Development     |     Perl Programming     |     C Programming Language     |     C++ Programming     |     IT Jobs

Python Programming Language     |     Laptop Suggestions?    |     TCL Scripting     |     Fortran Programming     |     Scheme Programming Language


 
 
Cervo Technologies
The Right Source to Outsource

MS Dynamics CRM 3.0

C# Programming

ShellExecuteEx


is there a Equivelent of ShellExecuteEx
in c#

thanks
Dave

DaveP wrote:
> is there a Equivelent of ShellExecuteEx
> in c#

Process Start maybe.

Arne

-----------------------------------------------Reply-----------------------------------------------

may  be you want this.

Process myProcess = new Process();
myProcess.StartInfo.FileName = "cmd.exe";
myProcess.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
myProcess.StartInfo.Arguments = "/c" + " dir >> c:\test.txt";
myProcess.Start();

this will execute the dir command in console [ like in console: C:\>
dir/w >> test.txt ]

Salman

-----------------------------------------------Reply-----------------------------------------------

On Feb 3, 2:58 am, "DaveP" <dvs_@sbcglobal.net> wrote:

> is there a Equivelent of ShellExecuteEx
> in c#

> thanks
> Dave

Just use System.Diagnostics.Process.Start("filenamehere.exe");
Add to del.icio.us | Digg this | Stumble it | Powered by Megasolutions Inc