Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.basic.visual.misc > #1645

Re: Trapping Windows Error

From "Tim Rude" <timrude.nospam@nospam.hotmail.com>
Newsgroups comp.lang.basic.visual.misc
Subject Re: Trapping Windows Error
Date 2012-12-10 09:26 -0600
Organization A noiseless patient Spider
Message-ID <ka4uvm$evq$1@dont-email.me> (permalink)
References <qLXws.1134789$ti6.623659@fx20.am4> <545ac8dmg5vn6bvfm8k4efo5eedr07ag8a@4ax.com> <c1lxs.804333$A%.470356@fx26.am4>

Show all headers | View raw


"Ivar" <ivar.ekstromer000@ntlworld.com> wrote in message 
news:c1lxs.804333$A%.470356@fx26.am4...
> Hi Ralph
>
> Thank you for your reply.
> I sent my client a new exe file with the FreeLibrary call commented out 
> and app does not stop working.

Try sending the client an exe with the FreeLibrary call (not commented out) 
preceeded by 'On Error Resume Next'. Immediately after the FreeLibrary call 
line, add: MsgBox "Program execution continues"

If the app runs without crashing and your user gets the messagebox popup, 
that tells you that VB can handle (either trap and deal with or else ignore) 
this errror. Then it's up to you how to best handle it within VB.

If the program crashes and the messagebox doesn't pop up, then you may have 
something VB can't deal with (seems unlikely). 

Back to comp.lang.basic.visual.misc | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Trapping Windows Error "Ivar" <ivar.ekstromer000@ntlworld.com> - 2012-12-09 08:14 +0000
  Re: Trapping Windows Error ralph <nt_consulting64@yahoo.com> - 2012-12-09 17:24 -0600
    Re: Trapping Windows Error "Ivar" <ivar.ekstromer000@ntlworld.com> - 2012-12-10 13:00 +0000
      Re: Trapping Windows Error Deanna Earley <dee.earley@icode.co.uk> - 2012-12-10 13:10 +0000
      Re: Trapping Windows Error "Tim Rude" <timrude.nospam@nospam.hotmail.com> - 2012-12-10 09:26 -0600
        Re: Trapping Windows Error "Ivar" <ivar.ekstromer000@ntlworld.com> - 2012-12-10 17:31 +0000
          Re: Trapping Windows Error "Tim Rude" <timrude.nospam@nospam.hotmail.com> - 2012-12-10 14:35 -0600
          Re: Trapping Windows Error Deanna Earley <dee.earley@icode.co.uk> - 2012-12-11 08:57 +0000
            Re: Trapping Windows Error Karl E. Peterson <karl@exmvps.org> - 2012-12-11 14:40 -0800
              Re: Trapping Windows Error Deanna Earley <dee.earley@icode.co.uk> - 2012-12-12 08:53 +0000
      Re: Trapping Windows Error Jim Mack <no-uce-ube@mdxi.com> - 2012-12-10 12:01 -0500
        Re: Trapping Windows Error "Ivar" <ivar.ekstromer000@ntlworld.com> - 2012-12-10 17:42 +0000
          Re: Trapping Windows Error Jim Mack <no-uce-ube@mdxi.com> - 2012-12-10 15:23 -0500
            Re: Trapping Windows Error "Ivar" <ivar.ekstromer000@ntlworld.com> - 2012-12-10 20:35 +0000
              Re: Trapping Windows Error "Thorsten Albers" <gudea@gmx.de> - 2012-12-10 20:48 +0000
              Re: Trapping Windows Error Jim Mack <no-uce-ube@mdxi.com> - 2012-12-10 15:51 -0500
                Re: Trapping Windows Error "Ivar" <ivar.ekstromer000@ntlworld.com> - 2012-12-10 21:52 +0000
                Re: Trapping Windows Error Jim Mack <no-uce-ube@mdxi.com> - 2012-12-10 17:37 -0500
                Re: Trapping Windows Error "Ivar" <ivar.ekstromer000@ntlworld.com> - 2012-12-11 05:39 +0000
                Re: Trapping Windows Error RW <RonW@no_domain.invalid> - 2012-12-11 15:12 -0500
                Re: Trapping Windows Error "Ivar" <ivar.ekstromer000@ntlworld.com> - 2012-12-12 05:57 +0000
                Re: Trapping Windows Error Deanna Earley <dee.earley@icode.co.uk> - 2012-12-12 08:54 +0000
                Re: Trapping Windows Error "Thorsten Albers" <gudea@gmx.de> - 2012-12-11 21:44 +0000
                Re: Trapping Windows Error GS <gs@somewhere.net> - 2012-12-10 18:30 -0500
      Re: Trapping Windows Error David Kerber <dkerber@WarrenRogersAssociates.invalid> - 2013-01-21 11:29 -0500

csiph-web