Re: Runtime errors on certain machines - HELP!!!

Tech-Archive recommends: Speed Up your PC by fixing your registry



"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


.



Relevant Pages

  • Re: Multiple forms show/load best practice
    ... load each child and show them with Show. ... ' Declare new frmMain ... Dim newForm As New frmMain ... I've read 3 books, ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: Para Ordanance 14.45 Limited
    ... about any load I`ve tried in it. ... not work well in your gun. ... When I bought it the trigger was kind of stiff and heavier than ... Para`s grip frame is just a bit big for my hand. ...
    (rec.guns)
  • Re: Form inherit problem. Cannot pass values
    ... ithe frmMain dropdowns with data from a DB. ... > Imports System.Data.OleDb ... ' Load Timekeeper Dropdowns ... Dim dtTime as DataTable ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Keys get stuck
    ... "make -j4" since that's a great way to trigger it. ... I'm sure it does suck under heavy load, ... Plenty of scheduling opportunities. ... where the autorepeat gets a life ...
    (Linux-Kernel)
  • Re: Help OT: HP DC7100 SFF Power Supply
    ... it occurs there is a total power loss and that the unit will operate ... The see if you can trigger the problem by temperature, by directing the air from a hair drier into it. ... The over-voltage sense on one of the output rails may be tripping. ... This can often be brought on by *reducing* the load on the supply - eg fitting a lower consumption hard disk/optical drive, or switching to a power-saving regime where things are powered down when idle. ...
    (uk.adverts.computer)