Solved

App Setup wizard: make my simple program worth 3 megabyte??

Posted on 1998-07-16
5
137 Views
Last Modified: 2010-05-18
I used VB4 (16bit) to make a simple program. It just involved edit data in the Access 2.0 .mdb and do simple calculation. Only "Textbox", "Label", "Data" and "DBgrid" are used.

I used default setting of setup wizard and wonder my setup program worth 3 megabyte.

Would you tell me which kind of files can be un-checked in the setup wizard or which files must included in the setup files list?

Thanks.
0
Comment
Question by:saikit
5 Comments
 
LVL 1

Expert Comment

by:brunchey
ID: 1466046
Everytime you create a setup application with the setup wizard, it provides all of the required files for a VB 4 -16bit install.  So you are probably getting some Ole dlls, etc.  Post the setup text file.
0
 
LVL 7

Accepted Solution

by:
kamall earned 50 total points
ID: 1466047
saikit,
The files added by the setup wizard are ALL necessary for your application to install successfully on the user's machine. Since you are using the Data control and the DBGrid control, they need the MS Jet Database Engine files that are added automatically by the wizard.

Actually, some of the files added may exist on the user machine, but you can not determine which files do exist. For example, if the user system do has the Jet Engine files, you don't have to include them. However, on another system, they maight not exist. Therefore, you have include all the files that are added by the wizard.

Hope that helps.
Regards.

0
 

Author Comment

by:saikit
ID: 1466048
Do I have another way instead of using the MS Jet Database to capture data, because it just 4 columns and few rows.
After that, can I just distribute a EXE file to users?
0
 
LVL 7

Expert Comment

by:kamall
ID: 1466049
saikit,
If you are not dealing with huge number of data, then it is much more better to put your data in a text file and get rid of the Data control and the DBGrid along with all the required files for the MSJet Engine.

Regarding your second question,
There is no way whatsoever to distribute your EXE file only. The only exception is that if the user has previousely installed an application that was created using VB4 16-bit on his machine, and you only use the standard VB controls in your application, then you can give only the EXE, because all the required libraries do exist on his machine.
However, you understand that there is no way to know whether the user has did such an  installation on his machine in the past.

Hope that helps.
Regards
0
 

Expert Comment

by:ComTech
ID: 6640487
.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

816 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now