Win Surprise Gifts!!!
Top 5 Contributors of the Month
Post New Question
Subscribe to Forum
Integrate Web project with windows project
March 06, 2012
Is it possible to pass some value from a web project to a windows project ?If yes please give example.
Posted Date: March 07, 2012 Points: 20
You can invoke windows application and pass values to windows application provided
that both web and windows application's are on the same server and you had full
permission to call that exe(windows application), to give permissions follow
1. Open IIS manager.
2. Expand the Ã¢â¬ÅApplication PoolsÃ¢â¬Â node.
3. Right click the coresponding application pool, and then select Ã¢â¬ÅPropertiesÃ¢â¬Â.
4. Click the Ã¢â¬ÅIdentityÃ¢â¬Â tab, and select the Ã¢â¬ÅLocal SystemÃ¢â¬Â identity in the Ã¢â¬ÅPredefinedÃ¢â¬Â dropdown list.
then you can call exe as and pass command line parameters to it,
string locn = ConfigurationManager.AppSettings["EXELOC"];
Process myProcess = new Process();
myProcess.StartInfo.UseShellExecute = false;
myProcess.StartInfo.FileName = locn + "DoComplexTask.exe";
myProcess.StartInfo.Arguments = "100 false";
myProcess.StartInfo.CreateNoWindow = true;
catch (Exception ex)
To post reply
Related Questions Related Questions
Problem with Installing Windows Service Project
How to run a vb.net2005 project on network
how to combine two project?
one project are work in two member we are divide equal form we are join this form to one to copy to form dost not copy to form many time try to way but cannot copy how its copy or join for two form ?
deploy my project in which i have used Acrobat
Error in Web Setup Project while using Installer Class aError in Web Setup Project while using Installer Class and Custom Actions "Object reference not set to an instance of an object"nd Custom Actions "Object reference not set to an instance
ASP.NET - CMM Practices or Project Management Templates
Delay in building project - how to avoid?
Software Project Management Templates
Latest Forum Questions From The Same Category
Xamarin for Visual Studio 2010/2012 ?
How to attach Google Plus authentication system in Windows 8.1 phone using c#
Installing Visual Studio 2012 on Windows 7
Can anyone suggests me a laptop on which I can install any OS ?
Software freelancers who work from home, need a license?
help me problem instal graphique card on i5 intel fujitsu e752 hd4000
Extracting data from different websites to excelsheet
Please let me know the cost/exam fee associated with the Microsoft ASP.Net certification
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more
Quick Links For Forum Categories:
Hall of Fame
Terms of Service
Tell A Friend