Solved

smaller

Posted on 2000-03-30
5
240 Views
Last Modified: 2010-05-02
I’ve made a small program (30 lines off code) and I want to distribute this program to a number of people.
I used the package and deployment wizard which comes with the enterprise edition
But that program transforms my code to a mastodon of 10 MB. I know this is because it includes a number of  dll’s, but isn’t there a way to create a smaller package (the executable is only 36K).
0
Comment
Question by:RonaldBiemans
5 Comments
 
LVL 69

Expert Comment

by:Éric Moreau
ID: 2669191
What does your 30 lines uses? Are you using ADO (which is 6.5 meg)?

The first thing to do is to go to Project->Components and to Project->References to unselect unused controls and references.
0
 
LVL 25

Author Comment

by:RonaldBiemans
ID: 2669205
The program reads an ascii file
and puts the data in an access database.
0
 
LVL 1

Expert Comment

by:ndb
ID: 2669207
You can make 2 different kinds of distributions.
One for people who already have the needed runtime DLL's. So this distribution will be very small.
Then you can make a second distribution for people who don't have those runtime DLL's.
0
 

Expert Comment

by:bito_se
ID: 2669225
Hi,

check the files which the PDWizard includes against Microsoft DLL Help Database http://support.microsoft.com/servicedesks/fileversion/dllinfo

/Tomas
 
0
 
LVL 69

Accepted Solution

by:
Éric Moreau earned 50 total points
ID: 2669362
Use DAO instead of ADO. DAO takes much less spaces!
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

747 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

10 Experts available now in Live!

Get 1:1 Help Now