Register | Login
Saturday, May 17, 2008

Main Navigation
  
About Us
  
Hosting Provided by Server Intellect
Spotlight
Partners
 WWWCoder Forums
Subject: Run Exe thru C# Code

Add Reply   
Author Messages
Rajitha (guest)

6/09/2005 5:06 AM Quote Reply Alert 
Hi,

I have windows application exe file. I wanted to run this exe file thru my website. how can run my exe file thru web page.
Please i need ur help immediately.

thanks,
Rajitha
Subha (guest)

6/17/2005 2:41 PM Quote Reply Alert 
Hi,

I have installed Directory Services for Windows to query the LDAP. There is a command line tool DSDE(dsde.exe) that comes with DSFW. dsde.exe. I wanted to run this exe file from a web page. how can


thanks,
Subha
Suresh (guest)

4/24/2006 8:44 AM Quote Reply Alert 
use the following command to run exe

System.Diagnostic.Process.Start ("AppName.exe");
Anand (guest)

5/16/2006 6:25 AM Quote Reply Alert 
Hi,


I have windows application exe file. I wanted to run this exe file through my website.

I wrote bellow code

System.Diagnostics.Process Proc = new System.Diagnostics.Process();

Proc.StartInfo.FileName = "Compliants.exe"

Proc.Start();

This will invoke that exe perfectly. But I have same database (Bulk Insertion)

Operation on "Compliants.exe", It wont be work. When I double click the exe its working fine.

Can u any one please guide me to fix this issue.
somu_kiran22 (guest)

12/12/2006 6:44 AM Quote Reply Alert 
system.diagnostics.process.start("compliants.exe");
Sudhakar Rathinam (guest)

2/28/2007 3:42 AM Quote Reply Alert 
Thanks buddy. It works....:D
Sudhakar Rathinam (guest)

2/28/2007 3:42 AM Quote Reply Alert 
Thanks buddy. It works....:D
Dam775 (guest)

6/04/2007 6:53 AM Quote Reply Alert 
Dear, I wonder, if the exe file throw unhandled exception, how can we catch it in C#??
krishna (guest)

8/23/2007 2:11 AM Quote Reply Alert 
ya i know call any exequtable program
System.Diagnostics.Process.Start(string File_path);
but i need word file openwith notpade
how to call
System.Diagnostics.Process.Start(string File_path);
or
System.Diagnostics.Process.Start(string File_path,string exe_path);
but not working

thanks for help
rachit mehta (guest)

9/07/2007 7:44 AM Quote Reply Alert 
Hi
You say that if we write process.start ("start.exe") than program build successfully but when i run that program that time erroe generated taht system cannot find file that type error occured. So please give me reply.
thanks
Rachit
romesh (MCAD Student) (guest)

4/08/2008 11:40 AM Quote Reply Alert 
use "fileexists" method in system.IO namespace which returns a bool to catch the

//# File Exists syntax
void FileExists(string FileName)

if (System.IO.FileExists("complaints.exe")==true)
{
System.Diagnostics.Process.Start("complaints.exe");
}
else /*Use this to or use an errorprovider control to catch error.*/
{
MessageBox.Show("Application Cannot be Found!")
}
Himanshu (guest)

4/28/2008 2:14 AM Quote Reply Alert 
Hi This code is file but i want to edit the environmental variables for this[i] [/i]
Add Reply
Forums > Open Source > .NET > Run Exe thru C# Code

Quick Reply
Username:  
Subject:  
Body:

 



ActiveForums 3.6
    


 

 Terms Of Use | Privacy Statement
 Copyright 2006 - Santry Technology Solutions, Box 172, Girard, PA 16417, (814) 414-0252