Click here to Skip to main content
15,896,207 members
Home / Discussions / C#
   

C#

 
JokeRe: Programmatically access Start -> Run Pin
Dan Neely16-Nov-07 4:43
Dan Neely16-Nov-07 4:43 
GeneralRe: Programmatically access Start -> Run Pin
dan!sh 16-Nov-07 6:03
professional dan!sh 16-Nov-07 6:03 
GeneralRUDE! Pin
leckey16-Nov-07 6:39
leckey16-Nov-07 6:39 
GeneralRe: RUDE! Pin
Anthony Mushrow16-Nov-07 6:47
professionalAnthony Mushrow16-Nov-07 6:47 
QuestionHelp Required Excell Version Problem Pin
mian ghous16-Nov-07 2:07
mian ghous16-Nov-07 2:07 
AnswerRe: Help Required Excell Version Problem Pin
dan!sh 16-Nov-07 2:41
professional dan!sh 16-Nov-07 2:41 
GeneralRe: Help Required Excell Version Problem Pin
mian ghous18-Nov-07 17:49
mian ghous18-Nov-07 17:49 
Questionhow can i fix this eventhandler, urgent* Pin
kevinskrazyklub16-Nov-07 1:44
kevinskrazyklub16-Nov-07 1:44 
im new here i've always liked this site.
sorry but this is very urgent.
It wont throw that exception unless im debugging it with breakpoints, and it will throw prematurely in debug mode with breakpoints. I am using a timer for this. I dont know why it isnt reaching the if statement or its passing it up or something. Thanks for the help in advance.

[code]
private static void SecondChangedEvent(object source, ElapsedEventArgs e)
{
//sleep for 10 milliseconds.
Thread.Sleep(10);
//i use temp to check the seconds.
//error if not setting it to something.
int temp = DateTime.Now.Second;
seconds++;

Thread.Sleep(250);
//will throw an exceptionn if the seconds value is greater than 120.
//But that is handeled in DepositEnvelope().
if(seconds >= 120)
{

Exception ex = new Exception();
throw ex;
}
}
[/code]

QuestionRe: how can i fix this eventhandler, urgent* Pin
TJoe16-Nov-07 2:08
TJoe16-Nov-07 2:08 
AnswerRe: how can i fix this eventhandler, urgent* Pin
kevinskrazyklub16-Nov-07 2:30
kevinskrazyklub16-Nov-07 2:30 
GeneralRe: how can i fix this eventhandler, urgent* Pin
Luc Pattyn16-Nov-07 3:13
sitebuilderLuc Pattyn16-Nov-07 3:13 
QuestionCalling a vb6 dll with user-defined types from C#? Pin
Gadjuka16-Nov-07 1:24
Gadjuka16-Nov-07 1:24 
AnswerRe: Calling a vb6 dll with user-defined types from C#? Pin
Judah Gabriel Himango16-Nov-07 5:17
sponsorJudah Gabriel Himango16-Nov-07 5:17 
QuestionRe: Calling a vb6 dll with user-defined types from C#? [modified] Pin
Gadjuka18-Nov-07 21:41
Gadjuka18-Nov-07 21:41 
AnswerRe: Calling a vb6 dll with user-defined types from C#? Pin
Judah Gabriel Himango19-Nov-07 4:17
sponsorJudah Gabriel Himango19-Nov-07 4:17 
NewsRe: Calling a vb6 dll with user-defined types from C#? Pin
Gadjuka19-Nov-07 4:29
Gadjuka19-Nov-07 4:29 
GeneralRe: Calling a vb6 dll with user-defined types from C#? Pin
Judah Gabriel Himango19-Nov-07 5:08
sponsorJudah Gabriel Himango19-Nov-07 5:08 
NewsRe: Calling a vb6 dll with user-defined types from C#? Pin
Gadjuka19-Nov-07 21:33
Gadjuka19-Nov-07 21:33 
AnswerRe: Calling a vb6 dll with user-defined types from C#? Pin
Gadjuka20-Nov-07 3:33
Gadjuka20-Nov-07 3:33 
QuestionAn introduction to bluetooth conection Pin
Strategic_Thinker16-Nov-07 1:23
Strategic_Thinker16-Nov-07 1:23 
AnswerRe: An introduction to bluetooth conection Pin
devzav16-Nov-07 1:48
devzav16-Nov-07 1:48 
QuestionHiding or Securing Connection String Pin
Christopher Stratmann16-Nov-07 1:12
Christopher Stratmann16-Nov-07 1:12 
AnswerRe: Hiding or Securing Connection String Pin
Vasudevan Deepak Kumar16-Nov-07 1:20
Vasudevan Deepak Kumar16-Nov-07 1:20 
AnswerRe: Hiding or Securing Connection String Pin
Ennis Ray Lynch, Jr.16-Nov-07 6:54
Ennis Ray Lynch, Jr.16-Nov-07 6:54 
Questionchange of icon Pin
tnaveen16-Nov-07 0:48
tnaveen16-Nov-07 0:48 

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.