|
-
Apr 16th, 2000, 03:56 AM
#1
-
Apr 16th, 2000, 11:00 AM
#2
Addicted Member
Before you compile your executable make sure you go into both the References and the Components dialogs, remove all objects and references that you don't need in your project. Don't worry, it won't let you remove anything that you are currently using in your project. You'd be surprised what is in there by default, depending on the version of VB that you are using.
-
Apr 16th, 2000, 11:08 AM
#3
Hyperactive Member
*sigh*
Just because your application is only one form doesn't mean its small... I could have on that form a Common Dialog Box, Rich Text Box, maybe a Slider bar and a MS Flexi Grid and that would blow the entire application out several times!!!
If I included a Database DAO control on there as well then it would try and include the MDAC installation file which is 2MB in itself!!!!
The heart of the problem is that Windows doesn't come standard with a lot of the things you do in VB... even the main core object model which MUST be included with all installations that use VB (MSVB60VM.DLL for VB 6) is over 2MB in size.
You might be able to reduce the size a little but other than that you will just have to put up with what the Deployment Wizard puts in your executable unless you want to write the installer yourself in something like Wise InstallBuilder or InstallShield.
Hate to tell you this but....
That's Life!!!
-
Apr 16th, 2000, 11:47 AM
#4
Fanatic Member
Well,
if you want small exe's in a visual basic (like) language (basic based) try RapidQ (it'll even let you compile on linux and it's free!) the interface speed is good but the math is slow because its byte code. you'll probably get a 280k stand alone exe that doesn't need installing.
or Borland C++ builder so you can static link.
VB is good if your customers / clients have the vbrun files (like your sending an upgrade ) because then you only have to send them a 40 - 60k file.
If you could static link VB and everyone sent out 600k - 1mb stand alone apps then that's a lot of redundant vb code sitting in PCs.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|