Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2006-06-10
4
Medium Priority
?
193 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 2000 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

I think the Typed DataTable and Typed DataSet are very good options when working with data, but I don't like auto-generated code. First, I create an Abstract Class for my DataTables Common Code.  This class Inherits from DataTable. Also, it can …
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…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …

916 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