Click here to Skip to main content
12,998,759 members (71,452 online)
Rate this:
Please Sign up or sign in to vote.
See more:
Hi friends
I am create the website application in framework 3.5.
here not create the exe file like webapplication.

How am added the exe file to this site application..

please help me friends..
Posted 16-Jan-13 4:06am
Sandeep Mewara 16-Jan-13 10:20am
i want to add the exe file like normal webapplication

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Create a new application. On the main form drop a web browser control and set it to fill the form. Set the target URL property to the URL of your web application. Test the app to make sure it opens and runs your web application correctly. Change the build configuration to Release and build the project.

Open the project folder on your computer, find the Bin/Release folder... in it will be your .exe file.

Alternately, you could write a console app that shells out the user's default browser passing in the URL of your web app. The process is relatively the same in that when you change the build to release you will get an .exe in the Bin/Release folder that you can distribute.

You should realize that this doesn't turn your ASP web application into a desktop application... it just wraps your web site in an exe. Web apps and desktop apps are two totally different things and there is no way to convert one to the other.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170622.1 | Last Updated 16 Jan 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100