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


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

Re: GPF caused by Coolbar control - FOUND WORKAROUND

From Deanna Earley <dee.earley@icode.co.uk>
Newsgroups comp.lang.basic.visual.misc
Subject Re: GPF caused by Coolbar control - FOUND WORKAROUND
Date 2014-10-14 11:42 +0100
Organization Aioe.org NNTP Server
Message-ID <m1iunh$spm$1@speranza.aioe.org> (permalink)
References <m1ea2c$h7d$1@dont-email.me> <m1i4hj$od0$1@dont-email.me>

Show all headers | View raw


On 14/10/2014 04:15, Paulo wrote:
> Well, I knew that the use of the End statement is not advisable and that
> should be used with caution.
>
> If the user confirms to close the application the QueryUnload of my form
> calls a Sub that contains an End statement. The GPF raised in my application
> is caused when this End statement is called.
>
> I found that the GPF is not raised with anyone of this two workarounds :
> 1. Remove the End statement.
> 2. The Sub called by the QueryUnload of my form loads an invisible form that
> contains the End statement in the Load event.
>
> I have chosen to deliver an update with the second "solution" that keeps the
> End statement.

Why not just let it exit as normal?
As you said, End is well known to cause many problems, in another form 
or not.

-- 
Deanna Earley (dee.earley@icode.co.uk)
iCatcher Development Team
http://www.icode.co.uk/icatcher/

iCode Systems

(Replies direct to my email address will be printed, shredded then fed 
to the rats. Please reply to the group.)

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


Thread

GPF caused by Coolbar control "Paulo" <nospam.vbstudent@syscolor.net> - 2014-10-12 17:25 +0100
  Re: GPF caused by Coolbar control Deanna Earley <dee.earley@icode.co.uk> - 2014-10-13 08:50 +0100
    Re: GPF caused by Coolbar control "Paulo" <nospam.vbstudent@syscolor.net> - 2014-10-13 17:51 +0100
      Re: GPF caused by Coolbar control Deanna Earley <dee.earley@icode.co.uk> - 2014-10-14 11:37 +0100
  Re: GPF caused by Coolbar control "Farnsworth" <nospam@nospam.com> - 2014-10-13 07:54 -0400
    Re: GPF caused by Coolbar control "Paulo" <nospam.vbstudent@syscolor.net> - 2014-10-13 17:30 +0100
  Re: GPF caused by Coolbar control "Farnsworth" <nospam@nospam.com> - 2014-10-13 08:04 -0400
    Re: GPF caused by Coolbar control "Paulo" <nospam.vbstudent@syscolor.net> - 2014-10-13 18:42 +0100
      Re: GPF caused by Coolbar control "Farnsworth" <nospam@nospam.com> - 2014-10-13 14:47 -0400
        Re: GPF caused by Coolbar control "Paulo" <nospam.vbstudent@syscolor.net> - 2014-10-14 03:34 +0100
  Re: GPF caused by Coolbar control - FOUND WORKAROUND "Paulo" <nospam.vbstudent@syscolor.net> - 2014-10-14 04:15 +0100
    Re: GPF caused by Coolbar control - FOUND WORKAROUND Deanna Earley <dee.earley@icode.co.uk> - 2014-10-14 11:42 +0100
      Re: GPF caused by Coolbar control - FOUND WORKAROUND "Paulo" <nospam.vbstudent@syscolor.net> - 2014-10-19 17:17 +0100

csiph-web