Results 1 to 21 of 21

Thread: help! 5 megs of dll's!!!!

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Apr 2001
    Location
    The Netherlands
    Posts
    112

    help! 5 megs of dll's!!!!

    Hi all,

    im rather new at this, maybe someone can help me out a little.

    ive made a small application using a few forms and a Datacontrol. after compiling i ran the package&deploy tool. The result was a 80K EXE and a whopping 5 megs of dll's etc.!! is there a away (there probably is) to not needing the huge ammount of dll-data, the app probably uses a few tiny bits of it.




    please point me the right direction.

    thnaks in advance
    Remvs / The Netherlands

  2. #2
    Frenzied Member Vlatko's Avatar
    Join Date
    Aug 2000
    Location
    Skopje, Macedonia
    Posts
    1,409
    Every additional control you put on the form is an additional *.ocx file. You can use a program like bit-arts Fusion to make your app a single (big) exe or make the app in another programming language.
    I am become death, the destroyer of worlds.
    mail:[email protected]

    • Visual Basic 6.0 & .NET
    • Visual C++ 6.0 & .NET
    • ASP
    • LISP
    • PROLOG
    • C
    • Pascal

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Apr 2001
    Location
    The Netherlands
    Posts
    112
    i understand that,
    but there are also 2+mb dll's there. anything that can be doen about that?

  4. #4
    Registered User Olly's Avatar
    Join Date
    Apr 2001
    Location
    Switzerland
    Posts
    252
    kick msvbvm60.dll as everybody has it anyway or use the vs installer which makes one exe and compresses your files

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Apr 2001
    Location
    The Netherlands
    Posts
    112

    yeah! one down!!

    thnx olly,

    thats one bastard down

    remvs

  6. #6
    Frenzied Member Vlatko's Avatar
    Join Date
    Aug 2000
    Location
    Skopje, Macedonia
    Posts
    1,409
    kick msvbvm60.dll as everybody has it anyway or use the vs installer which makes one exe and compresses your files
    I wouldn't count on everybody having the MSVBVM60.DLL. In fact is pretty much rare. The MFC dll's are much more often.
    I am become death, the destroyer of worlds.
    mail:[email protected]

    • Visual Basic 6.0 & .NET
    • Visual C++ 6.0 & .NET
    • ASP
    • LISP
    • PROLOG
    • C
    • Pascal

  7. #7
    Megatron
    Guest
    Olly, at this stage in time, not everyone has that file. Maybe uncle Bill will release it in the next version of Windows, but for the time being, msvbvm60.dll should still be included.

  8. #8

    Thread Starter
    Lively Member
    Join Date
    Apr 2001
    Location
    The Netherlands
    Posts
    112

    heheh

    ok, remvs is a bit confused now, but for th etime being will burn the whole 11mb (it was 11 in stead of 5) to a cd

    Remv

  9. #9
    Megatron
    Guest
    Do you have a lot of picture or sound files in your project? Or is it 10 MB of pure components and DLLs?

  10. #10

    Thread Starter
    Lively Member
    Join Date
    Apr 2001
    Location
    The Netherlands
    Posts
    112
    ive only got 1 logo (6k) and 1 icon, no soundfiles.
    why u ask?

    remvs

  11. #11
    Megatron
    Guest
    I thought that because it's usually binary resouces that take up a lot of space.

    Also, how many components are you using in your project? Make sure to remove any components that you are not using; this will reduce space.

  12. #12
    Registered User Olly's Avatar
    Join Date
    Apr 2001
    Location
    Switzerland
    Posts
    252

    Thumbs up

    Go onto http://wildsau.idv.uni-linz.ac.at/mfx/upx.html, there you can get a free .exe file compressor. It's great but it doesn't add dlls. But it's free

  13. #13

    Thread Starter
    Lively Member
    Join Date
    Apr 2001
    Location
    The Netherlands
    Posts
    112
    Mega,
    ive got (amongst the usual stuff)the DB-stuff (datacontrol ,jetengine etc) a Networkneigborhood-browse-thingy (uses an extra dll i think) and a richtextbox. thats all (that i know of right now) When references or componenets that are selected but not used, are they included in the package?

    Olly,

    Ti'll check th eprog later today, thanx.

    Remvs

  14. #14
    Megatron
    Guest
    Yes. If you don't use them, they will still be added, hence I suggest you remove them.

  15. #15

    Thread Starter
    Lively Member
    Join Date
    Apr 2001
    Location
    The Netherlands
    Posts
    112
    I've tried to just open the .exe on a machine on which i didnt install any of the ddl's (it was an old p1 with win95)

    Guess what!

    the only file it really needed was the richtx32.ocx !!
    it doesnt need the 5-11 mb of crap at all!

    ...so muh for the P&D-wizzard

  16. #16

    Thread Starter
    Lively Member
    Join Date
    Apr 2001
    Location
    The Netherlands
    Posts
    112

    btw: Great this forum

    BTW, this forum is just great!
    large, lively users and many ppl willing to help
    thanx!

    ..hope to be able to help u guys too one day

    remvs

  17. #17
    Megatron
    Guest
    Your Welcome.

    Yeah, the P&D wizard simply takes the list of all controls in your project. It doesn't check which specific controls you are using.

  18. #18
    WALDO
    Guest
    Just bear in mind that as soon as you distribute this app to someone with an old terd machine that doesn't have the vb6 runtimes or something else you need to package....kablooie! Personally I feel that everyone should have certain dll's no matter what, but there's always some moron user that won't

  19. #19
    Megatron
    Guest
    The users aren't the morans. If anyone, it's probably MS (no offence to them, though). IMHO, I think they should have included them with Windows.

  20. #20
    JeffCrowe99
    Guest

    SMALL PACKAGE ---;-)

    Just an FYI I've found that installshield makes a nice tidy little package also...there are some free copies out there...try one.

  21. #21
    Megatron
    Guest
    Most likely, the only free copies you can get of InstallShield are either Demos, or they are warez.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width