|
-
Nov 8th, 2000, 05:14 AM
#1
Thread Starter
Lively Member
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
-
Nov 8th, 2000, 05:36 AM
#2
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.
-
Nov 8th, 2000, 06:02 AM
#3
Lively Member
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
-
Nov 8th, 2000, 06:13 AM
#4
Thread Starter
Lively Member
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
-
Nov 8th, 2000, 07:05 AM
#5
Junior Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|