|
-
Jan 27th, 2006, 12:11 PM
#1
Thread Starter
Lively Member
MessageBox changes outcome?
See title. I'll post code if need arise, I'm having a messagebox pop up changes a boolean variable somehow? causing different answers? When I get on my laptop I'll give more info, but ideas are appreciated until then.
-
Jan 27th, 2006, 12:13 PM
#2
Re: MessageBox changes outcome?
1. What are the buttons on your messagebox?
2. What happens when one of them is clicked?
-
Jan 27th, 2006, 12:18 PM
#3
Thread Starter
Lively Member
Re: MessageBox changes outcome?
the messagebox code is basically:
MessageBox.Show(Convert.ToString({Anything in program})
Nothing special, but later part of the program is affected. Something to do with the pause it takes the user to click okay?
-
Jan 27th, 2006, 08:05 PM
#4
Re: MessageBox changes outcome?
Your problem is unclear to me but perhaps you could have a look at DialogResult, therein you could make a decision based on it...
-
Jan 27th, 2006, 08:13 PM
#5
Thread Starter
Lively Member
Re: MessageBox changes outcome?
Hah, funny story...
I forget which language it was in, but you could clear the screen and start your program by pressing Ctrl+F5. However, is VS2003, this compiles your program without debugging. This messed up the breakpoints, which messed up my methods, which messed up everything.
Sorry for wasting everyone's time.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|