Click here to Skip to main content
15,887,355 members
Home / Discussions / C#
   

C#

 
QuestionTabControl Pin
farokhian29-Dec-09 0:25
farokhian29-Dec-09 0:25 
AnswerRe: TabControl Pin
#realJSOP29-Dec-09 0:39
mve#realJSOP29-Dec-09 0:39 
QuestionIndex remains on 0(zero) in richtextbox Pin
Dot-Net-Dev29-Dec-09 0:12
Dot-Net-Dev29-Dec-09 0:12 
AnswerRe: Index remains on 0(zero) in richtextbox Pin
Dave Kreskowiak29-Dec-09 3:53
mveDave Kreskowiak29-Dec-09 3:53 
GeneralRe: Index remains on 0(zero) in richtextbox Pin
ProtoBytes29-Dec-09 8:34
ProtoBytes29-Dec-09 8:34 
GeneralRe: Index remains on 0(zero) in richtextbox Pin
Dot-Net-Dev29-Dec-09 16:52
Dot-Net-Dev29-Dec-09 16:52 
GeneralRe: Index remains on 0(zero) in richtextbox Pin
Dave Kreskowiak29-Dec-09 18:08
mveDave Kreskowiak29-Dec-09 18:08 
QuestionWeird Debugging Problem Pin
#realJSOP29-Dec-09 0:10
mve#realJSOP29-Dec-09 0:10 
I originally created a project in VS2008, converted it to VS2010. Last night, I decided I didn't want to continue using VS2010.

I then created a new project in VS2008, and copied all of the code from the original project into it. Everything compiles just fine, but the app didn't work like it did before the latest conversion, so I started up a debug session, and immediately found the problem.

When the app starts up, it fires off a BackgroundWorker object. The worker processes as normal, but when it jumps into the ReportProgress event handler,the first line of code is an if statement. It appears as if the if statement isn't being evaluated at all (I put an else clause in to see, and it's not being stepped into at all), and control is immediately returned to the RunWorker event handler.

What could I have done to the code that could possibly cause this?

Of course, I've tried the obvious remedy (clean/rebuild), but it didn't work.

.45 ACP - because shooting twice is just silly
-----
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

AnswerRe: Weird Debugging Problem Pin
Keith Barrow29-Dec-09 2:02
professionalKeith Barrow29-Dec-09 2:02 
AnswerRe: Weird Debugging Problem Pin
Ben Fair29-Dec-09 2:35
Ben Fair29-Dec-09 2:35 
GeneralRe: Weird Debugging Problem Pin
Luc Pattyn29-Dec-09 2:45
sitebuilderLuc Pattyn29-Dec-09 2:45 
GeneralRe: Weird Debugging Problem Pin
Ben Fair29-Dec-09 3:07
Ben Fair29-Dec-09 3:07 
GeneralRe: Weird Debugging Problem Pin
#realJSOP29-Dec-09 2:50
mve#realJSOP29-Dec-09 2:50 
GeneralRe: Weird Debugging Problem Pin
Ben Fair29-Dec-09 3:11
Ben Fair29-Dec-09 3:11 
GeneralRe: Weird Debugging Problem Pin
#realJSOP29-Dec-09 3:59
mve#realJSOP29-Dec-09 3:59 
GeneralRe: Weird Debugging Problem [modified] Pin
Keith Barrow29-Dec-09 3:38
professionalKeith Barrow29-Dec-09 3:38 
GeneralRe: Weird Debugging Problem Pin
#realJSOP29-Dec-09 4:02
mve#realJSOP29-Dec-09 4:02 
GeneralRe: Weird Debugging Problem Pin
Keith Barrow29-Dec-09 4:40
professionalKeith Barrow29-Dec-09 4:40 
AnswerRe: Weird Debugging Problem Pin
Saksida Bojan29-Dec-09 3:07
Saksida Bojan29-Dec-09 3:07 
GeneralRe: Weird Debugging Problem Pin
#realJSOP29-Dec-09 4:04
mve#realJSOP29-Dec-09 4:04 
GeneralRe: Weird Debugging Problem Pin
ProtoBytes29-Dec-09 8:43
ProtoBytes29-Dec-09 8:43 
Questionhow to move multipoint button at run time Pin
krunal2528-Dec-09 23:22
krunal2528-Dec-09 23:22 
AnswerRe: how to move multipoint button at run time Pin
Luc Pattyn29-Dec-09 1:11
sitebuilderLuc Pattyn29-Dec-09 1:11 
QuestionError: A Generic Error occured in GDI+ Pin
Udayaraju28-Dec-09 23:00
Udayaraju28-Dec-09 23:00 
AnswerRe: Error: A Generic Error occured in GDI+ Pin
Luc Pattyn29-Dec-09 1:15
sitebuilderLuc Pattyn29-Dec-09 1:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.