473,387 Members | 1,483 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Create an exe from a program.

Hey,

I was wondering if it would be possible to create an exe from a program using Vb6.

I have created a program, but I want the user to be able to set the text in the textboxes when the program loads without having to load info from a text file or something. I was thinking of creating a program that shows the textbox names, the user then types in what they want in the textboxes and then clicks a button to make the exe (My first program) with the custom settings.

Any help?

Thanks.

Darren.
Jan 26 '08 #1
5 1602
lotus18
866 512MB
Hi

Yes you can. Click on File > Make <your project name> .exe.... But it is recommended to make it a package installer using the Package and Deployment Wizard.: ). If your first program is simple, making it .exe would be enough as long as you include all the references or its dependent files.

Rey Sean
Jan 27 '08 #2
9815402440
180 100+
hi

you can create exe file at run time. but before you have to create a project and forms (at run time). let me make the logic clear first. start a new standard exe project. in form1 add a command button. in command button's click event type msgbox ("hello"). in the declaration section type Option Explicit. now save the project and form. close the project. now open the folder where you just saved the project. open the form1.frm file with notepad. here you will find the code in simple english. study how command1 is coded and its properties are set. similartl open project1.vbp file in notepad. and check what is written in it. after a little study every thing will be clear.you can create these files using vb6 code on run time. using this logic i have made a complete software designer and coder. you can create exe as follows:

C:\Progra~1\Micros~2\VB98\VB6.EXE -M <project file path and name>

hope this will help you

regards
manpreet singh dhillon hoshiarpur
Jan 27 '08 #3
Killer42
8,435 Expert 8TB
I think your best bet would be to store the text entries somewhere like the system registry, and load them each time the program starts up.
Jan 27 '08 #4
werks
220 100+
Hey,

I was wondering if it would be possible to create an exe from a program using Vb6.

I have created a program, but I want the user to be able to set the text in the textboxes when the program loads without having to load info from a text file or something. I was thinking of creating a program that shows the textbox names, the user then types in what they want in the textboxes and then clicks a button to make the exe (My first program) with the custom settings.

Any help?

Thanks.

Darren.

Are trying to develop your own exe program? If not hen try lotus suggestion..


Better Than Yesterday
Jan 27 '08 #5
I already have a program made, but it has about 10 textboxes, I wanted to be able to make another program with my program hidden inside it, so that the user could set the text in the textboxes then make the hidden program into an exe with all the textboxes set to what they want. if that makes any sense.

Darren.
Jan 27 '08 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: I_AM_DON_AND_YOU? | last post by:
There is one more problem I am facing but didn't get the solution. In my Setup Program I am not been able to create 2 things (when the program is intalled on the client machine ) : (1) create...
9
by: aaron | last post by:
I have a few documents in which I need to get a total word count. Can anyone help? I'd like to create this program so I can get the result after entering the filename, and have the option to...
37
by: Steven Bethard | last post by:
The PEP below should be mostly self explanatory. I'll try to keep the most updated versions available at: http://ucsu.colorado.edu/~bethard/py/pep_create_statement.txt...
0
by: bendavid | last post by:
Hello, I work on WinXP SP1. with VB6 - MS-Access(VisData). I created a setup.exe using Package and Deployment Wizard for VB 6. But when the program is installed all the files are installed to...
109
by: zaidalin79 | last post by:
I have a java class that goes for another week or so, and I am going to fail if I can't figure out this simple program. I can't get anything to compile to at least get a few points... Here are the...
3
by: Francis2004 | last post by:
Pls help me to create program. >>>scenario if i enter 10 and divided to 2 will give me an average. Thank you in adv. francis
4
by: nelnac | last post by:
i'm trying to teach myself c++ through verious online places, however i haven't been able to find one thing.. a program where i can type Code into and have it compile the code for me anyone have any...
3
by: Christian | last post by:
Hi, i must create a program to save my list of DVD but i don't have a DB like SQL or Access o file... it's possible??
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.