Click here to Skip to main content
15,910,787 members
Home / Discussions / C#
   

C#

 
AnswerRe: IE login Pin
Archyami13-Aug-06 23:45
Archyami13-Aug-06 23:45 
Questionpassword Pin
skyeddie13-Aug-06 17:17
skyeddie13-Aug-06 17:17 
AnswerRe: password Pin
Christian Graus13-Aug-06 18:47
protectorChristian Graus13-Aug-06 18:47 
GeneralRe: password Pin
skyeddie13-Aug-06 19:22
skyeddie13-Aug-06 19:22 
GeneralRe: password Pin
Christian Graus13-Aug-06 19:39
protectorChristian Graus13-Aug-06 19:39 
Question.Net CheckedComboBox. Pin
Automation Software Engineer (A.S.E)13-Aug-06 16:54
Automation Software Engineer (A.S.E)13-Aug-06 16:54 
AnswerRe: .Net CheckedComboBox. Pin
Automation Software Engineer (A.S.E)26-Aug-06 7:48
Automation Software Engineer (A.S.E)26-Aug-06 7:48 
QuestionProgram works when using a breakpoint but not otherwise Pin
Glen Harvy13-Aug-06 14:41
Glen Harvy13-Aug-06 14:41 
Hi,

I am trying to find out why my program isn't working so I inserted a breakpoint where the error occurs. When I then step thru after checking the variable is populated in the "locals" window everything works fine. I remove the breakpoint and it falls over again.

Background:
There is a combobox populated with dates gathered from a database. The selected combobox.text value is then used to pass into a oledb select command to populate a datagrid. Excerpts are:-

string fDate = this.comboBoxTresReport.Text.ToString();
DateTime fromDate = Convert.ToDateTime(fDate);

When I put a breakpoint at the first line AND I CHECK THE VALUE OF THE VARIABLE CONTAINED AT this.comboBoxTresReport.Text the program steps thru Ok. Remove the breakpoint OR I do not check the variable this.comboBoxTresReport.Text the second line generates an error "String was not recognized as a valid DateTime."

What have I missed doing?

Glen Harvy

AnswerRe: Program works when using a breakpoint but not otherwise Pin
Christian Graus13-Aug-06 14:48
protectorChristian Graus13-Aug-06 14:48 
GeneralRe: Program works when using a breakpoint but not otherwise Pin
Glen Harvy13-Aug-06 16:07
Glen Harvy13-Aug-06 16:07 
GeneralRe: Program works when using a breakpoint but not otherwise Pin
Christian Graus13-Aug-06 16:22
protectorChristian Graus13-Aug-06 16:22 
GeneralRe: Program works when using a breakpoint but not otherwise Pin
Glen Harvy13-Aug-06 17:01
Glen Harvy13-Aug-06 17:01 
GeneralRe: Program works when using a breakpoint but not otherwise Pin
Christian Graus13-Aug-06 18:48
protectorChristian Graus13-Aug-06 18:48 
AnswerRe: Program works when using a breakpoint but not otherwise Pin
leppie13-Aug-06 22:10
leppie13-Aug-06 22:10 
GeneralRe: Program works when using a breakpoint but not otherwise Pin
Glen Harvy13-Aug-06 22:26
Glen Harvy13-Aug-06 22:26 
AnswerRe: Program works when using a breakpoint but not otherwise Pin
S. Senthil Kumar14-Aug-06 2:42
S. Senthil Kumar14-Aug-06 2:42 
GeneralRe: Program works when using a breakpoint but not otherwise Pin
Glen Harvy14-Aug-06 7:36
Glen Harvy14-Aug-06 7:36 
QuestionVS designer headache Pin
User 58385213-Aug-06 14:16
User 58385213-Aug-06 14:16 
AnswerRe: VS designer headache Pin
Christian Graus13-Aug-06 14:50
protectorChristian Graus13-Aug-06 14:50 
GeneralRe: VS designer headache Pin
User 58385213-Aug-06 14:58
User 58385213-Aug-06 14:58 
GeneralRe: VS designer headache Pin
Christian Graus13-Aug-06 16:21
protectorChristian Graus13-Aug-06 16:21 
GeneralRe: VS designer headache Pin
User 58385213-Aug-06 16:26
User 58385213-Aug-06 16:26 
GeneralRe: VS designer headache Pin
Christian Graus13-Aug-06 16:46
protectorChristian Graus13-Aug-06 16:46 
AnswerRe: VS designer headache Pin
User 58385213-Aug-06 20:38
User 58385213-Aug-06 20:38 
AnswerRe: VS designer headache Pin
leppie13-Aug-06 22:05
leppie13-Aug-06 22:05 

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.