Solved

smaller

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

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 70

Accepted Solution

by:
Éric Moreau earned 50 total points
ID: 2669362
Use DAO instead of ADO. DAO takes much less spaces!
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

Suggested Solutions

Title # Comments Views Activity
VB 6.0 printer how to align 6 71
Send outlook email from VBS Script 2 58
Assign a value in Excel V-Basic 3 28
Macro problems with Excel file 6 21
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
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.
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…

679 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