Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can i make the COMPLETE exe file that it runs without any furthure

Status
Not open for further replies.

ZeeSKhan

Programmer
Aug 12, 2002
1
0
0
EU
Hi All
In Visual Basic 6, i want to write any code and i want to make that kind of exe file that will run without any another file (msvb6xx.xxx)
Noted: i just want to use the code NOT any form to display.
 
In File one of the options is to make "Project Name".exe
This will make the exe File.
As to not having any form showing in the sub form_load() of the form just put
formName.hide
and it shouldn't show the form.
 
Sorry, you cannot compile a VB program that does not require "msvb6xx.xxx".

There are applications that claim to convert a VB exe into a standalone package, however most:

a) impose artificial limitations on your code
b) simply bundle your exe and the various runtime support libraries into a single file (so you don't save on distributable size)
 
Making a self-contained program is much more involved
than simply compiling an executable, nowadays. Most VB6
projects apply pre-written tools, ones that are not automatically included within the executable.
To successfully create a self-contained program, you
must do a two-step procedure:
1) Create an exeecutable file, via the
File|Make ....exe.
2) Exit the VB6 compiler.
3) From the START|PROGRAMS menu, go to VISUAL BASIC,
but instead again of selecting VISUAL BASIC (which
will leads you to the VB compiler), pick the other
item "VISUAL BASIC TOOLS".
4) From that menu, follow the instructions. This is the
"Packaging and Deployment Wizard" (aka, the "PAD"
wizard.) It's a long procedure, but worth knowing!

 
Do you work in MS customer service? Just wondering *******************************************************
[sub]General remarks:
If this post contains any suggestions for the use or distribution of code, components or files of any sort, it is still your responsibility to assure that you have the proper license and distribution rights to do so!
 
Packaging and Deployment Wizard is usually known as 'PDW'

PDW only creates a setup program, a .cab file and a set of required installable files in a directory, or to a set of floppies. It doesn't create a standalone .exe as requested Let me know if this helps
________________________________________________________________
If you are worried about how to post, please check out FAQ222-2244 first

'There are 10 kinds of people in the world: those who understand binary, and those who don't.'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top