Solved

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

Posted on 2006-06-10
4
181 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
Since .Net 2.0, Visual Basic has made it easy to create a splash screen and set it via the "Splash Screen" drop down in the Project Properties.  A splash screen set in this manner is automatically created, displayed and closed by the framework itsel…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

895 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now