calculation only works once in debug mode

  • Thread starter Thread starter rodger
  • Start date Start date
R

rodger

hi all,

I have a form with two text boxes, a go button and a formula in the code

to perform a calculation a value is entered in one text box, and press
buttonm
a result is computed which is entered in the second box.

This functions the first time that I run the form in debug, but only the
first time,

am forced to restart debug to try another calculation,

any ideas,

rodger
 
Hi

Please ignore the other poster. No question is stupid. We all started
somewhere.

Can you maybe post the consentience of the cs/vb file of your form so that
we can see what you are doing wrong?

Your subject was "calculation only works once in debug mode". This suggests
that it works fine in release mode? Is this what you meant?

Gary
 
* rodger said:
I have a form with two text boxes, a go button and a formula in the code

to perform a calculation a value is entered in one text box, and press
buttonm

a result is computed which is entered in the second box.

This functions the first time that I run the form in debug, but only
the first time,

am forced to restart debug to try another calculation,

I am not sure if I understand what you mean, but you cannot change the
code in debug mode and continue with the execution like in VB6. You
will have to wait for the next release of VB.NET, "VB.NET Whidbey",
where the famous "Edit and Continue" will be reintroduced.

--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>

<http://www.plig.net/nnq/nquote.html>
 
Back
Top