|
-
Aug 2nd, 2007, 02:07 AM
#1
Thread Starter
Hyperactive Member
What is the maximum exe size??
I am getting some strange unexplained errors in my program.
The exe is just over 2M in size. Is this a problem?
My reputation is in tatters. Don't bother trying to repair it.
-
Aug 2nd, 2007, 02:11 AM
#2
Re: What is the maximum exe size??
What errors are you getting exactly? The exe size should not be a big deal.
-
Aug 2nd, 2007, 02:23 AM
#3
Re: What is the maximum exe size??
EXEs > 2MB isn't uncommon.
-
Aug 2nd, 2007, 03:00 AM
#4
Re: What is the maximum exe size??
Are you getting any "This program has performed an Illegal operation and will be shut down" or "Memory Fault in " kind of errors. If so, please check for your program for any memory leaks.
I have seen somewhere the Exe size > 15 MB...and working still...so that is not a problem
If an answer to your question has been helpful, then please, Rate it!
Have done Projects in Access and Member management systems using BioMetric devices, Smart cards and BarCodes.
-
Aug 2nd, 2007, 03:52 AM
#5
Thread Starter
Hyperactive Member
Re: What is the maximum exe size??
Run-time error 5. Invalid procedure call or argument.
I have put some MsgBoxes to try to locate the error and it. It appears to come in a simple call like this " radioCharge_KeyDown Index, 13, 0". Up until this week, the program worked perfectly - I have just been adding a few enhancements.
I have no problems when I run through VB6 with vbp.
My reputation is in tatters. Don't bother trying to repair it.
-
Aug 2nd, 2007, 04:34 AM
#6
Re: What is the maximum exe size??
 Originally Posted by Supremus
Run-time error 5. Invalid procedure call or argument.
I have put some MsgBoxes to try to locate the error and it. It appears to come in a simple call like this " radioCharge_KeyDown Index, 13, 0". Up until this week, the program worked perfectly - I have just been adding a few enhancements.
I have no problems when I run through VB6 with vbp.
Are you using error handling everywhere? That seems like it would find it for you. MZTools can help you easily add them in enmass.
-
Aug 2nd, 2007, 05:23 AM
#7
Thread Starter
Hyperactive Member
Re: What is the maximum exe size??
My error handling ability is pathertic. I do have MZ tools and will look at that.
I used the Package and Deployment wizard and received this error message but I can't understand why it wants that file. It's nowhere on my system ...
*** ERROR: The file 'c:\DOCUME~1\Peter\LOCALS~1\Temp\msftqws.pdw\$(DLLSelfRegisterEx)' could not be registered because it was not found.
I am getting errors in different places if I remove one suspect sub routine. It tells me a variable isn't set, but it is set and doesn't change.
I added a form with a cmd button then removed all the files from my program, and compiled that. I then added all the files again and still had the problem.
It doesn't make sense to me.
My reputation is in tatters. Don't bother trying to repair it.
-
Aug 2nd, 2007, 05:36 AM
#8
Re: What is the maximum exe size??
Perhaps something that doesn't need to be there got placed in your setup and installation file. I would go through that carefully to see exactly what is there. If you see something that you feel doesn't belong, remove it and see what happens (you can always put it back.)
-
Aug 2nd, 2007, 06:38 AM
#9
Thread Starter
Hyperactive Member
Re: What is the maximum exe size??
Thanks Hack.
I have just done a lot of googling and it is a known problem. Msftqws.pwd is actually a temp directory created by the package wizard.
I have narrowed down the routine causing the problem and am going to rewrite it to see if that eliminates the problem.
My reputation is in tatters. Don't bother trying to repair it.
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
|