By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,627 Members | 2,339 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,627 IT Pros & Developers. It's quick & easy.

Step by step it works but...

P: n/a
Hello to all:
I have a program made in VB and Access. I have a very rare problem and
I don´t know how to solving it. When I execute it, the program fails
(does not leave any message error. I know that it fails because it
does not update the registries of the database), however, if I execute
it step by step, the program works perfectly. Somebody knows where the
problem can be? Thank you very much for your attention and sorry for
my bad english.

Feb 10 '06 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Hi Raul,

Are you using the same configuration in both cases? That is, are you using
the Debug configuration when you run the app without debugging. If it is not
the same, maybe there is something different in both configurations, or some
conditional statements using #If DEBUG

Also, a way to solve this is putting some messageboxes in your code to guess
the code flow. At some point the statement which updates the database is not
reached, or it fails silently.

--

Best regards,

Carlos J. Quintero

MZ-Tools: Productivity add-ins for Visual Studio
You can code, design and document much faster:
http://www.mztools.com
"raulcobo" <ra******@yahoo.es> escribió en el mensaje
news:11**********************@f14g2000cwb.googlegr oups.com...
Hello to all:
I have a program made in VB and Access. I have a very rare problem and
I don´t know how to solving it. When I execute it, the program fails
(does not leave any message error. I know that it fails because it
does not update the registries of the database), however, if I execute
it step by step, the program works perfectly. Somebody knows where the
problem can be? Thank you very much for your attention and sorry for
my bad english.
Feb 10 '06 #2

P: n/a
It sounds to me like you may have a timing issue. When you step
through the program it is giving the program more time to complete the
access execution. Try throwing in a vew DoEvents to help things finish
up.

Feb 10 '06 #3

P: n/a
It sounds to me like you may have a timing issue. When you step
through the program it is giving the program more time to complete the
access execution. Try throwing in a vew DoEvents to help things finish
up.

Feb 10 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.