473,569 Members | 2,701 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 1053
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.goo glegroups.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
3770
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 user presses the submit button: <form method="post" name="step1" action="test.html"> <script language="JavaScript"> var position
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 haven't been able to figure out how to do so Any help would be appreciated I'm using Developer Studio .Net 2003 in C# - Bruc
3
3634
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 page, 2) Breakpoint in the Page_Load, 3) debug the web page and click the submit button, 4) "step into" under debug several times, 5) The debugger...
3
3957
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 step you're on. This all works fine, but I ran into some trouble when I started creating controls dynamically in my code-behind file. Each panel...
22
3996
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 receive 5 bytes buffer , I call the BeginReceive and then wait on AsyncWaitHandle.WaitOne() but it is signald imidiatly , and the next call to...
5
1755
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 a value to the given step...with rounding up if it is it is right in the middle (e.g. 1.25 to 1.5 with a step of 0.25)
2
2037
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 http://blogs.msdn.com/aaronmar/archive/2006/02/16/a-bit-more-on-ironpython.aspx If I run Visual Studio under Experimental Hive, a Python file opened is color coded.
7
2634
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 dictionary, and then the application retrieve all the data it need from the dictionary... Everything is working nicely, but I'd like to have...
0
7697
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7924
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8120
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
5512
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3653
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3640
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2113
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 we have to send another system
1
1212
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
937
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.