Solved

smaller

Posted on 2000-03-30
5
241 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…
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…
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…

932 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

14 Experts available now in Live!

Get 1:1 Help Now