473,503 Members | 9,887 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Step by step it works but...

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
3 1045
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
3761
by: Andrew V. Romero | last post by:
First off, I am mostly familier with PHP but am trying to make a multi-step javascript program. For an example, I would like to run different sections of the script depending on how many times the...
1
326
by: brckcc | last post by:
I want to step into the TreeView SelectedNode property set method. I can't seem to step into any of the standard C# .Net libraries. When I was using C++ I could step into the MFC code, but in C# I...
3
3628
by: R Millman | last post by:
under ASP.NET, single stepping in debug mode appears not to stop within event procedures. i.e. 1) Create web page with submit button and event procedure for the click event in the code behind...
3
3946
by: Leo J. Hart IV | last post by:
OK, here's another question for the experts: I am building a multi-step (3 steps actually) form using a panel for each step and hiding/displaying the appropriate panel/panels depending on which...
22
3978
by: semedao | last post by:
Hi , I am using asyc sockets p2p connection between 2 clients. when I debug step by step the both sides , i'ts work ok. when I run it , in somepoint (same location in the code) when I want to...
5
1749
by: ibiza | last post by:
Hi all, I'd need a function that would rounds values like : d = roundTo(64.2, 0.25) ' returns 64.25 d = roundTo(64.2, 10) ' returns 64 d = roundTo(64.2, 100) ' returns 100 well, that rounds...
2
2034
by: Bo | last post by:
Hello All, I am experimenting IronPython in Visual Studio. Here is what I have, what I did and what I want 1. I have installed Visual Studio SDK 4.0 according to this blog...
7
2620
by: gregory.lielens | last post by:
Hi, I am using a small python file as an input file (defining constants, parameters, input data, ...) for a python application. The input file is simply read by an exec statement in a specific...
0
7095
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7294
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7470
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5026
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4693
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3173
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1523
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
749
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
403
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.