Click to See Complete Forum and Search --> : Native EXE File
vbAlex
Oct 31st, 1999, 01:52 AM
how can i create a exe file that doesn't need (runtime-)dll's ???????????????????????????????
like those, you can download on websites. you've only this one file and it works!
please HELP!
thanx
vbAlex
Juan Carlos Rey
Oct 31st, 1999, 02:39 AM
I you don't use special controls and provided your end user has vbrun already installed (almost sure) then you can avoid dll's.
Otherwise, choice another language!
Bob Baddeley
Oct 31st, 1999, 02:50 AM
Try File then Make(your program).EXE
that makes your program into an .EXE, but it still uses some .DLLs. Chances are that other users probably have those .DLLs though.
vbAlex
Oct 31st, 1999, 03:00 AM
do i have to write the programm in c/c++ (i don't have c....) or is there another possibility?
Listen crew,
Only C++ has the ability to compile the shared activex components into a single exe. Do not take chances in making a VB app without a setup program. If your components are not on your audience's machine, the app will not run. This has happened to me one too many times.
Yonatan
Nov 1st, 1999, 01:10 AM
When you use Visual C++, you have the option to use the MFC Library, which makes programming much easier, but requires some runtime declarations. You can choose if you want the declarations as a statically linked library (packing MFC in your program's EXE, making it much bigger than wanted) or as a shared library (having small EXEs, but requiring MFCxx.DLL, where xx stands for the version number, usually 42).
If you don't use MFC, then you do not need any runtimes for anything, and your final EXE will not be very big. But you will have to use many many APIs. The good thing about it is, you don't have to manually add many Declares, Types, Constants, etc., you just add one line: #include <windows.h>
------------------
Yonatan
Teenage Programmer
E-Mail: RZvika@netvision.net.il
ICQ: 19552879 (http://www.icq.com/19552879)
SmashingPumpkinsAddict
Nov 1st, 1999, 03:18 AM
I've heard that VB6 can do what you're asking...but I heard that a long time ago way before it ever came out. They said if configured correctly the program could even run in DOS, similiar to the what win.exe does itself.
Adam
vbAlex
Nov 1st, 1999, 05:34 PM
thanx all.
i'll change the normal setup-program and then i'll pack it to an setup program that uses cabs.
P.S.: SmashingPumpkinsAddict, it's win.com and not .exe .....
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.