Results 1 to 9 of 9

Thread: What is the maximum exe size??

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2005
    Location
    Wollongong. NSW. Australia
    Posts
    470

    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.

  2. #2
    Interweb adm/o/distrator Paul M's Avatar
    Join Date
    Nov 2006
    Location
    Australia, Melbourne
    Posts
    2,306

    Re: What is the maximum exe size??

    What errors are you getting exactly? The exe size should not be a big deal.

  3. #3
    "Digital Revolution"
    Join Date
    Mar 2005
    Posts
    4,471

    Re: What is the maximum exe size??

    EXEs > 2MB isn't uncommon.

  4. #4
    VB Guru ganeshmoorthy's Avatar
    Join Date
    Dec 2005
    Location
    Sharjah, United Arab Emirates
    Posts
    3,031

    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.


  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2005
    Location
    Wollongong. NSW. Australia
    Posts
    470

    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.

  6. #6
    Wall Poster TysonLPrice's Avatar
    Join Date
    Sep 2002
    Location
    Columbus, Ohio
    Posts
    3,969

    Re: What is the maximum exe size??

    Quote 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.

  7. #7

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2005
    Location
    Wollongong. NSW. Australia
    Posts
    470

    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.

  8. #8
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    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.)

  9. #9

    Thread Starter
    Hyperactive Member
    Join Date
    Feb 2005
    Location
    Wollongong. NSW. Australia
    Posts
    470

    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
  •  



Click Here to Expand Forum to Full Width