Click here to Skip to main content
15,896,413 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
hello

I have developed web application but client want to use this application as stand alone. can I create .exe of web site application . I am using ms access database.

I have gone through many likes but I did not perfect answers anywhere

http://social.msdn.microsoft.com/Forums/en-US/37fe11c4-fef3-41f9-97a1-268ba8609ffa/how-do-i-build-an-exe-in-visual-studio-c-2010-express?forum=csharpide[^]
Posted
Comments
Sergey Alexandrovich Kryukov 26-Feb-14 10:25am    
No "perfect answers"? No wonder... :-) Only a question can be answered, something which makes some sense.
—SA
Maciej Los 26-Feb-14 10:46am    
As perfect answer is, as perfect question. ;)

Please, read comments to the question and Sergey's explanation (solution 1).

Your question sounds: "can we create .exe or set up file for web application using vs 2010"
And the answer is: Yes, you can

As i mentioned in comment, be careful in the way you construct a question, because as perfect answer is, as perfect is question. You need to decide what you want to know: 1) how to create exe? or 2) how to create setup?. Believe me, it makes the difference.
 
Share this answer
 
v2
Comments
Abhinav S 26-Feb-14 11:10am    
My 5.
Maciej Los 26-Feb-14 11:16am    
Thank you ;)
Sergey Alexandrovich Kryukov 26-Feb-14 15:05pm    
It answers only on one possible meanings of the question, which is not principle.
The thing is: most likely, one real meaning of this question simply does not exist. It looks like OP somehow associate the possibility to have installed with the possibility to use the Web application as stand-along, which are actually unrelated things. Having setup.exe does not mean that you can have, let's say application.exe working as a stand-along application. Setup.exe could do anything...
—SA
Maciej Los 26-Feb-14 16:26pm    
Interesting point of view. I accept it. I would like to say, that the main thing is much simpler than it seems to be: the ability to put a question, no matter of materia.
Sergey Alexandrovich Kryukov 26-Feb-14 16:32pm    
Questions put by a person define this person much more clearly than anything else.
By the way, one of the stupidest people I ever met in my life was notorious with the ability to answer each and every question around, including rhetorical ones... :-)
—SA
What you need to do is create a setup that includes the exe and the database.
This installer should be able to install both the exe and the database.

Go through this link - Steps to Create Setup and Deployment Project in Dot Net VS 2008[^].
 
Share this answer
 
v2
Comments
Maciej Los 26-Feb-14 11:16am    
5ed!
Abhinav S 26-Feb-14 12:08pm    
Thank you Maciej.
Sergey Alexandrovich Kryukov 26-Feb-14 15:06pm    
I'm just not sure if this is relevant to what OP meant (which may not makes sense), because... — please see my comments to Solution 2.
—SA
Pankil_Plus 6-Mar-14 2:12am    
I have gone through this link but I need solution in vs2010.
Using Web application as stand-along not just possible or impossible, this is just nonsense, by definition. It could be totally different application, even if it did exactly the same, from the stand point of the application.

The question makes no sense. In practice, you may think of having a big shared code base used in different application types.

—SA
 
Share this answer
 
Comments
Abhinav S 26-Feb-14 11:10am    
5!
Sergey Alexandrovich Kryukov 26-Feb-14 15:02pm    
Thank you, Abhinav.
—SA
Maciej Los 26-Feb-14 11:14am    
The question is not nonsense, but not well formed. If somebody asks: can we do something (and this is not criminal operation), the answer is: yes, you can. Please, see my answer.
BTW: +5!
Sergey Alexandrovich Kryukov 26-Feb-14 15:02pm    
Thank you, Maciej.

Not the question is nonsense (sorry if I hurt the author of the question), but just the statement of their customer "use this application as stand alone". This is what I meant and this is what is written in my answer.

However, it depends what one would call "stand along". What if some customer installs an appropriate HTTP server (such as IIS) and OP deploys the Web application on this computer (but I'm not sure if OP would allow that to happen, but let's assume it). The it can be used locally using a regular Web browser, unless it requires something else from Internet. Will it be called "stand-along"? I just did not consider such cases as stand-along...

Now, as to your statement "If somebody asks: can we do something (and this is not criminal operation), the answer is: yes, you can.".
Well, yes, if you want to lie to this "somebody". Not in all cases. Let me assure you: there is a great number of unsolved problems, at the level of whole human civilization; and infinite number of problem which are strictly proven to be unsolvable in principle. And of course, you probably understand that it depends on who is "you". :-)

I would assume you just did not mean such cases but understood that they exist. But the fact you did not even consider it means that we are hanging around with such people that you was able to safely assume: no one is doing anything serious. But not all people have to do such things only. Even I faced with problems of unknown possibility to solve them even theoretically.

—SA
Maciej Los 26-Feb-14 16:19pm    
My philosophic soul is flying away... ;)
My New Year's goal is: perfect English!

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900