Run a method from an exe file

Posted by Lily on Stack Overflow See other posts from Stack Overflow or by Lily
Published on 2010-05-22T11:31:41Z Indexed on 2010/05/22 11:40 UTC
Read the original article Hit count: 299

Filed under:
|
|

Hi

I need to call a method from an exe file

 ProcessStartInfo startInfo = new ProcessStartInfo(@"exeParser.exe");

        startInfo.WindowStyle = ProcessWindowStyle.Normal;
        startInfo.CreateNoWindow = false;
        startInfo.RedirectStandardOutput = true;
        startInfo.UseShellExecute = false;


        startInfo.Arguments = ??

I don't know how to call a method and pass parameters

Any help please??

The executable is mine but I'm having trouble using the things in a web app so I thought it would be better to call it as a process

Thanks

© Stack Overflow or respective owner

Related posts about process

Related posts about exe