Solved

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

Posted on 2006-06-10
4
184 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

740 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