dcsimg


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: dll, ocx, program size

  1. #1
    Join Date
    Dec 2004
    Posts
    110

    dll, ocx, program size

    Hi,

    If i'm trying to make my final distributable program as small as possible, I guess I have to avoid using contrals that require dlls etc to be installed?

    How do people get around using the common dialog control? Is there somewhere that lists the size of the required dlls etc?

    My little program blows out to a 2 mb install file because it has a rich text box, flex grid, and common dialog control.

    Cheers,
    Lithic.

  2. #2
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    You can use API calls to display common dialogs: http://vbnet.mvps.org/code/comdlg/filedlgsoverview.htm . 2 MB is not very large, though: a dial-up user can download it in about 5 minutes.

    You could omit the VB runtime files (listed here), which are likely a large portion of that 2 MB. Most potential users of your program will already have the runtime (it's been included with Windows for several years); for those who don't, you can provide a link to a download location.
    Last edited by Phil Weber; 03-07-2005 at 01:26 AM.
    Phil Weber
    http://www.philweber.com

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center