Solved

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

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

760 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

24 Experts available now in Live!

Get 1:1 Help Now