Solved

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

Posted on 1998-07-16
5
138 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
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…

791 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