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,516 of 10,840   
   Andy to Steve Gerrard   
   Re: On Error ... Fails! - Any suggestion   
   20 May 05 16:39:59   
   
   From: a@a.com   
      
   That solved it - after all these years with vb, I'd never had the need to   
   use that option.   
      
   Thanks   
      
   Andy   
      
      
   "Steve Gerrard"  wrote in message   
   news:0LmdnWc3Yp63BBffRVn-iQ@comcast.com...   
   >   
   > "Andy"  wrote in message   
   > news:d6d3ol$ja0$1@nwrdmz01.dmz.ncs.ea.ibs-infra.bt.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.   
   > >   
   >   
   > Right click on your code somewhere, choose Toggle, and select "Break on   
   > Unhandled Errors".   
   >   
   >   
      
   --- 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