Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Package and Deployment wizard make tiny program into 5 MB

Status
Not open for further replies.

DaveWWW

Technical User
Feb 27, 2007
9
CA
New at this so probably a stupid question but please help anyway. I wrote a fairly small program in VB6 and then used the Package and Deployment wizard to make it ready for shareware download on the internet. The cab file is almost 5 MB. I looked around at similar shareware programs and they are a tenth the size. MSDN help says a bunch of stuff about files needed with all VB applications and they amount to almost 1 MB yet I see all kinds of vb shareware out there that is tiny. Even tried packaging a program that just contains 1 form with a textbox on it and it's almost 1MB. Obviously I am missing something here and a bunch of the ocx and/or dll files arent really needed but how to know? Ready to bang head on wall.
 
Davewww,
How about zipping the file? Would the compressed size be reasonable?
 
Nope - the cab file is already zipped.
 
there is probably several controlls that you added to the project but didnt use. make sure in project>components.... that only stuff you are using is checked. but vb is not a all inclusive exe like c++ would be. so it needs the entire vb 6 runtime dll. which is the meg file that you mentioned. and if ya know of stuff that will not be used in the pacaging and deployment wizard uncheck it from the list of stuff to be installed. hope that helps.
Karl Pietri
lordhuh.pota.to

 
nope no extra stuff. looks like I just wated 100 hours to learn that you don't write shareware in visual basic. Guess I have to learn C++.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top