Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.basic.visual.misc > #853
| From | ralph <nt_consulting64@yahoo.net> |
|---|---|
| Newsgroups | comp.lang.basic.visual.misc |
| Subject | Re: Another VB6 ADO Problem |
| Date | 2012-02-28 04:38 -0600 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <2mapk7l5oo5gseulc380eh9ostof5r9gpj@4ax.com> (permalink) |
| References | <aef20ecb-3299-4890-9489-8e6106e1e9ed@p12g2000yqe.googlegroups.com> <jig9t4$30d$1@dont-email.me> <985c931d-aa5a-4efa-b1ca-20d979fba07e@q12g2000yqg.googlegroups.com> |
On Mon, 27 Feb 2012 21:38:23 -0800 (PST), Jason Bodine <jbodine1974@gmail.com> wrote: >Well, good news and bad news. > >The bad news is that clicking OK on frmAccount still causes VB6 to >stop responding and I still don't know exactly why. > >The good news is that I've narrowed the problem down to something in >the frmAccount code which I've already posted. I know this because, >upon restarting VB6 after closing the nonresponsive program down with >Task Manager and running my app again, the code that is supposed to >run after the profile is created successfully executes and everything >is smooth sailing from there on out. > >So the question remains: What in my code is causing VB6 to crash? > Well, it is not 'crashing' - it is not responding, which means it is stuck in an endless loop (or deadlocked). Either your code (most likely) or off in a library call (less likely). Judicial instrumentations of ... Debug.Print <value of interest> Debug.Assert <test> Debug.Assert False ' force a break within loops and before/after interesting calls, should quickly isolate the problem. Put simple counts inside your loops and bail at some value. -ralph
Back to comp.lang.basic.visual.misc | Previous | Next — Previous in thread | Next in thread | Find similar
Another VB6 ADO Problem Jason Bodine <jbodine1974@gmail.com> - 2012-02-26 21:31 -0800
Re: Another VB6 ADO Problem "Farnsworth" <nospam@nospam.com> - 2012-02-27 01:30 -0500
Re: Another VB6 ADO Problem Jason Bodine <jbodine1974@gmail.com> - 2012-02-27 21:39 -0800
Re: Another VB6 ADO Problem GS <gs@somewhere.net> - 2012-02-27 11:10 -0500
Re: Another VB6 ADO Problem Jason Bodine <jbodine1974@gmail.com> - 2012-02-27 21:38 -0800
Re: Another VB6 ADO Problem ralph <nt_consulting64@yahoo.net> - 2012-02-28 04:38 -0600
Re: Another VB6 ADO Problem john@jeasonNoSpam.cix.co.uk (John K.Eason) - 2012-02-28 12:21 +0000
csiph-web