Results 1 to 5 of 5

Thread: 12MB of .EXE

  1. #1

    Thread Starter
    Lively Member PatOls's Avatar
    Join Date
    Oct 2000
    Posts
    99

    Exclamation

    I'm fairly new with VB-Programming and I've created a Order-System in VB. The problem is that the .EXE file is aprox. 12
    MB in size. How do you divide your .EXE or how do you call dlls or how do you act when your .EXE is too large??

    //Patrick

  2. #2
    Guest
    Have you used a lot of pictures? Or is it just pure code?

    If reason is pictures, you should move them to external files and load them when the program loads.

  3. #3
    Lively Member Feras's Avatar
    Join Date
    Sep 2000
    Location
    Homs, Syria
    Posts
    85
    I also have the same question.

    my program have a large number of forms with pure codes (no pictures) and my .exe file exceeds 7 MB

    I add my voice to PatOls's and waiting for answers.


    [Edited by Feras on 11-08-2000 at 03:54 PM]
    Yesterday is history ... Tomorrow is mistry .. Today is a gift.

    VB6 , intermidiat

  4. #4

    Thread Starter
    Lively Member PatOls's Avatar
    Join Date
    Oct 2000
    Posts
    99

    Arrow Its almost pure code

    But also a number of designers which take up about 4 meg of space, it is possible to load designers (reports) at runtime too?

    //Patrick

  5. #5
    Junior Member
    Join Date
    Aug 2000
    Location
    Girona
    Posts
    18
    You can put all your reports in a separate dll archive. In the archive you can put a class module with the methods to show the reports like this:

    public sub show_report_A(optional variables_you_need as variant)
    reportA.show
    end sub

    And in the EXE instance the class module and call the methods.

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