I have a huge game with 90 forms. I was able to make it an executable file but I am having trouble getting it to run. Could this be because of the size of it? It didn't compile when I made it executable.
Printable View
I have a huge game with 90 forms. I was able to make it an executable file but I am having trouble getting it to run. Could this be because of the size of it? It didn't compile when I made it executable.
What on earth do you need 90 forms for????? :eek:
:eek: Good grief, that's a lot of forms. I doubt the problems are to do with the number of forms, but you never know. Do you get any error messages?
It may be a problem with the number of forms. I had a game once, where all of the animation data was in a single module (something like 8500 lines of "Head(2).X = 4500"). When i went to compile it, i got to sit around for at least 8 minutes, if it compiled at all. But, in all seriousness, NEVER have that many forms.
Z.
90 forms.... That's asking for troubles...
Couldn't you just use 1 form and change the content on that form? :confused:
http://psprogramming.virtualave.net/.../fear/eek2.gif
Wow, I think even the complete Office 2000 package multiplied by 20 doesn't have that many forms!! Get rid of those ASAP...
Here is a simple workaround
Divide your VB project into a few smaller projects then package them all seperately into seperate EXE files
You can use the Shell (see VB help file or e-mail me at [email protected] to find out how) to link up the files:o
90 forms?!
I'm sure they're just copies of a single form or something, no way you would make THAT many forms! In this case, you should load new forms using
That would load 89 copies of Form1. This would work with controls, but I'm not sure as to forms, I think they have a collection or something...Code:Dim i as integer
For i = 1 to 90
Load Form1(i)
Next i
I suggest you read a book like:
'Learning the very very basics of Visual Basic.... For Dummies' ;)
Try programming an application first, a game is always more difficult to code so start off easy.... :cool: