954,551 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

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!!!!

luxe
Newbie Poster
4 posts since May 2005
Reputation Points: 10
Solved Threads: 0
 

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.

dewman
Newbie Poster
21 posts since Jun 2005
Reputation Points: 10
Solved Threads: 0
 

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.

techniner
Posting Pro
527 posts since May 2005
Reputation Points: 12
Solved Threads: 19
 

start | programs | Microsoft Visual Studio 6.0 | Microsoft Visual Studio 6.0 Tools | Package & Deployment Wizard

jwshepherd
Junior Poster
123 posts since Jun 2005
Reputation Points: 20
Solved Threads: 5
 

hi thank you very mutch, now i'll try that..............
thank you again

luxe
Newbie Poster
4 posts since May 2005
Reputation Points: 10
Solved Threads: 0
 

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?

luxe
Newbie Poster
4 posts since May 2005
Reputation Points: 10
Solved Threads: 0
 
jwshepherd
Junior Poster
123 posts since Jun 2005
Reputation Points: 20
Solved Threads: 5
 

What do you mean by INTO an EXE?

Comatose
Taboo Programmer
Team Colleague
2,910 posts since Dec 2004
Reputation Points: 361
Solved Threads: 215
 

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.

w00dy
Junior Poster in Training
70 posts since Jun 2005
Reputation Points: 11
Solved Threads: 2
 

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: [email]mmfatemi@yahoo.com[/email]

mmfatemi
Newbie Poster
3 posts since Aug 2007
Reputation Points: 9
Solved Threads: 0
 

hi i made a program that can fix ur problem ,it can convert any vb projects to standalone.
but i cant send my program to u cuz i want to sell it. if u like u can send ur vb source code to me(i mean all *.vbp , *.frm and any new componet that u used in ur project and is not from vb standard components ).and i will make it standalone and send it to u.

mmfatemi
Newbie Poster
3 posts since Aug 2007
Reputation Points: 9
Solved Threads: 0
 

Another 'fossil' thread bumped up right through :D

Jishnu
Posting Pro
518 posts since Oct 2006
Reputation Points: 193
Solved Threads: 25
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You