Solved

Simple Windows application packaged into a single exe-file without installation?

Posted on 2006-06-10
4
183 Views
Last Modified: 2010-08-05
I would like to create a simple Windows application
1) with all its components (simple form and a simple code) packaged into a single exe file.
2) I would like to be able to just copy this exe file onto another machine without running a special installation program (and without a special installation of a .NET framework).
3) I would like to avoid the creation of a registry record.

Is it doable with VB6 or VB.NET (I already have a similar ASP code)?

Target machines are Windows XP.
It would be nice also to be able to run this application on Windows 2000.
0
Comment
Question by:YuryCGI
4 Comments
 
LVL 9

Expert Comment

by:jrscherer
ID: 16879696
Use VB.net
Create your simple WinApp
Build it
Grab the .exe file in Myproject\Obj\Release and move it to the target computer. Execute it!
Only condition: you need the correct DotNet Framework installed on the target machine.  Jack.net
0
 
LVL 11

Expert Comment

by:anyoneis
ID: 16879748
No, it is not doable as you have stated it in your question, as far as I know. VB6 needs its runtime, and VB.NET needs the .NET framwork to be installed.

0
 
LVL 12

Accepted Solution

by:
vb_jonas earned 500 total points
ID: 16879774
This is something that we have to live with, as anyoneis said. To run as a single file exe, use some other dev.tool, like Delphi or C++. Delphi might be the easiest choice for a basic-programmer.
0
 

Author Comment

by:YuryCGI
ID: 16880901
Thank you vb_jonas.
Do you mean C++ + MFC or something else?
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question