.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> .NET Framework >> Post New QuestionBookmark and Share Subscribe to Forum

making an exe in .net

Posted By: Mohan Raut     Posted Date: September 08, 2008    Points:2   Category :.NET Framework
Hello guys,
I hv been working on asp.net web application..now i need to create one project and finally one exe of that project..so that it can run on any machine regardless of .net framework(or fine we can install framework on that machine)..
matter is how can i achieve the project...
my confucion is:
i can create window application using vb.net so that i can create exe.
second i can create asp.net aplication then i create exe(but i dnt knw hw to create exe of asp.net files).
plz i need u r help what shld i do.

Responses
Author: Pankaj Mishra             
Posted Date: September 08, 2008     Points: 5   

Hi Mohan,
You can not make exe of asp.net application. Now you have two choices.

1) Make setup project for ASP.NET application.
2) Make one windows application and in the page_load event write this line of code.with this you can get an exe to launch web application.


System.Diagnostics.Process.Start("http://www.yahoo.com"); //replace yahoo.com with your web application path;
this.Close();


Hope this will help you

Cheers
Pankaj

Author: krishana singh             
Posted Date: October 16, 2010     Points: 5   

u chose project setup and development and
after chose name and location of the project

application choose from ur project bin/debug/.exe and

project properties and choose tools and select dynamic add tool middle point

debug and check location

ready ur .exe


more information u mail @ krish.bhati@gmail.com



Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend