Re: Runtime errors on certain machines - HELP!!!
- From: "Mike Williams" <Mike@xxxxxxxxxxxxxxxxx>
- Date: Thu, 5 Jan 2006 12:36:29 -0000
"Fred Flintstone" <idontthinkso@xxxxxxxxxx> wrote in message news:21cor1h5e68i18p46m51schecoj5lj2g29@xxxxxxxxxx
One particular mission critical application works on 27 out of 30 workstations. On the other 3, it crashes with this error: Run-Time Error 13: Out of Memory.
Error 13 is "type mismatch". Which error are you actually getting? Perhaps you might like to post the code you have got in the appropriate routines of frmMain (Load, Activate, Initialise, Resize, Paint, GotFocus, stuff like that). When you're loading a Form using "Load" then only the Initialise and Load events will trigger (if you have no code in those events), but any code in either of those events might cause them to trigger in a different order and might also cause other Form events to also trigger, depending on the code. Your problem may (or may not) be caused by some code that is being executed in one of those events, or it may be caused by something the Form is doing in the background as it loads up (something perhaps to do with controls on the Form or whatever). For starters, try placing Exit Sub as the very first line in both the Load and the Initialise events of frmMain. Does your app still crash with the error you are currently getting? I think you need to get that answer before considering what to look at next.
Mike
.
- References:
- Runtime errors on certain machines - HELP!!!
- From: Fred Flintstone
- Runtime errors on certain machines - HELP!!!
- Prev by Date: Re: Internal date/time representation
- Next by Date: Re: I am using visual basic express edition and I can't save it as an exe
- Previous by thread: Re: Runtime errors on certain machines - HELP!!!
- Next by thread: Re: Runtime errors on certain machines - HELP!!!
- Index(es):
Relevant Pages
|