home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.visual.basic      MS Visual Basic discussions, NOT dot-net      10,840 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 9,508 of 10,840   
   Andy to All   
   On Error ... Fails! - Any suggestions   
   17 May 05 15:48:38   
   
   From: a@a.com   
      
   Hi,   
      
   I've got some code which uses various "On Error" statements to try to trap   
   some errors in VB6. When I try it on one machine (WinXP SP1) it works fine,   
   but on another machine (WinXP SP2) it fails to trap the error and so the   
   code fails. e.g.   
      
      
   On Error Resume Next   
   debug.print 3/0   
      
   Would fail on the "debug" line.   
      
   On Error Goto Fred   
   debug.print 3/0   
   Fred:   
      
   would also fail on the "debug" line   
      
   Any suggestions??   
      
   Without this basic error trapping the whole application is screwed.   
      
   Thanks   
      
   Andy   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca