DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   Visual Basic 4 / 5 / 6 (http://www.daniweb.com/forums/forum4.html)
-   -   COMPILE A "STANDALONE" .EXE FILE (http://www.daniweb.com/forums/thread25661.html)

luxe Jun 13th, 2005 10:17 am
COMPILE A "STANDALONE" .EXE FILE
 
Hi all...
i'm using Visual Studio 6, and i must create an .exe file with a .dll inside and a small database (only read) .txt inside.

How i can do that?

I have try but always the i have 1 exe, 1 dll and 1 txt file, but i want only the exe with other files inside.

Thank you!!!!

dewman Jun 13th, 2005 3:53 pm
Re: COMPILE A "STANDALONE" .EXE FILE
 
I haven't used VS6 in quite a while now... but you should be able to create an install project... and include your files in that. Then it will be only one .exe file.
I believe that VS6 could do that but am not entirely sure since i have been using VS.NET for a long time now.

techniner Jun 13th, 2005 4:37 pm
Re: COMPILE A "STANDALONE" .EXE FILE
 
Well whats known as a solution in .NET is a project in VB6.

Just INCLUDE the 1st project in the second.. or compile the first exe and ADD THE reosurce. A Dependacy will work fine.

jwshepherd Jun 16th, 2005 12:57 am
Re: COMPILE A "STANDALONE" .EXE FILE
 
start | programs | Microsoft Visual Studio 6.0 | Microsoft Visual Studio 6.0 Tools | Package & Deployment Wizard

luxe Jun 16th, 2005 6:15 am
Re: COMPILE A "STANDALONE" .EXE FILE
 
hi thank you very mutch, now i'll try that..............
thank you again

luxe Jun 16th, 2005 9:59 am
Re: COMPILE A "STANDALONE" .EXE FILE
 
NOTHING!!!!!
noway to compile a standalone .EXE file.........

i'm trying to use (Package & Deployment Wizard), but i don't understand how "inglobe or include" all file like .txt or .dll file into the exe. :(

Any idea?

jwshepherd Jun 16th, 2005 11:44 am
Re: COMPILE A "STANDALONE" .EXE FILE
 
try this.

http://msdn.microsoft.com/vstudio/do.../download.aspx

Comatose Jun 16th, 2005 7:33 pm
Re: COMPILE A "STANDALONE" .EXE FILE
 
What do you mean by INTO an EXE?

w00dy Jun 16th, 2005 8:14 pm
Re: COMPILE A "STANDALONE" .EXE FILE
 
Hi, Luxe
you first have to look in the File menu (in VB) and select Make[name of project]. This creates the .exe file. Then open the Package & Deployment wizard. Study it carefully, it's not hard to make a mistake if you haven't used it before. The DLL's it mentions are needed for the program, and should be included. You will have to locate and add any pictures, txt files, dat files etc. that you have created yourself for your project, then it wraps them in a Zip package and adds a Setup program for installation.

mmfatemi Aug 9th, 2007 3:19 am
Re: COMPILE A "STANDALONE" .EXE FILE
 
i recently wrote a program that can fix ur problem
if u compile ur project into exe and give address of this
file and DLLs and OCXs u used in this project it will bind them
into one exe standalone file that u can run it in every machine
i can send it for u
my email is: mmfatemi@yahoo.com


All times are GMT -4. The time now is 11:19 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC