Click here to Skip to main content
15,220,161 members

.NET (Core and Framework)

 
Questionerror in loading application Pin
ArchaBhandare28-Mar-07 19:54
MemberArchaBhandare28-Mar-07 19:54 
AnswerRe: error in loading application Pin
Pete O'Hanlon28-Mar-07 22:41
subeditorPete O'Hanlon28-Mar-07 22:41 
QuestionA simple closing port question Pin
Draqonis28-Mar-07 10:04
MemberDraqonis28-Mar-07 10:04 
Questionexporting a crystal report in to Excel format Pin
indian14327-Mar-07 21:25
Memberindian14327-Mar-07 21:25 
AnswerRe: exporting a crystal report in to Excel format Pin
Pete O'Hanlon27-Mar-07 23:47
subeditorPete O'Hanlon27-Mar-07 23:47 
GeneralRe: exporting a crystal report in to Excel format Pin
indian14328-Mar-07 2:29
Memberindian14328-Mar-07 2:29 
QuestionTimers Pin
Jim Warburton27-Mar-07 7:27
MemberJim Warburton27-Mar-07 7:27 
AnswerRe: Timers Pin
Dave Kreskowiak27-Mar-07 7:48
mveDave Kreskowiak27-Mar-07 7:48 
That depends on which Timer is being used. There's 3 in the .NET Framework.

The System.Threading.Timer is a uses a callback delegate, which is executed on a Thread from the ThreadPool.

System.Timers.Timer is a server-based timer designed to work from worker threads in a multithreaded environment.

System.Windows.Forms.Timer is a event-based timer designed to work in a single threaded environment on the thread with your application message pump and relies on the O/S timer support.

The Timers.Timer and Forms.Timer both use events to signal the elaspe of the timer. The events are queued and must wait for the thread handling the events to get around to them.

The Threading.Timer uses a direct call to the code handling the elaspe of the timer. It doesn't have to wait for a thread to handle a queued event, but instead creates a new thread out of the ThreadPool and executes the method on that. The only thing that would slow that process down is if the ThreadPool doesn't have a thread immediately available to execute the request.




Dave Kreskowiak
Microsoft MVP - Visual Basic


GeneralRe: Timers Pin
Jim Warburton27-Mar-07 8:03
MemberJim Warburton27-Mar-07 8:03 
QuestionGetting two connection string from .config file instead of one?! Pin
Oshtri Deka27-Mar-07 3:54
professionalOshtri Deka27-Mar-07 3:54 
AnswerRe: Getting two connection string from .config file instead of one?! Pin
Oshtri Deka28-Mar-07 0:12
professionalOshtri Deka28-Mar-07 0:12 
AnswerRe: Getting two connection string from .config file instead of one?! Pin
kubben28-Mar-07 1:36
Memberkubben28-Mar-07 1:36 
GeneralRe: Getting two connection string from .config file instead of one?! Pin
Oshtri Deka28-Mar-07 22:53
professionalOshtri Deka28-Mar-07 22:53 
QuestionPls. how can I avoid these exceptions Pin
indian14327-Mar-07 0:27
Memberindian14327-Mar-07 0:27 
AnswerRe: Pls. how can I avoid these exceptions Pin
__DanC__27-Mar-07 0:43
Member__DanC__27-Mar-07 0:43 
GeneralRe: Pls. how can I avoid these exceptions Pin
indian14327-Mar-07 1:00
Memberindian14327-Mar-07 1:00 
GeneralRe: Pls. how can I avoid these exceptions Pin
Christian Graus27-Mar-07 2:45
mveChristian Graus27-Mar-07 2:45 
GeneralRe: Pls. how can I avoid these exceptions Pin
Colin Angus Mackay28-Mar-07 0:55
MemberColin Angus Mackay28-Mar-07 0:55 
AnswerRe: Pls. how can I avoid these exceptions Pin
Scott Dorman27-Mar-07 19:06
professionalScott Dorman27-Mar-07 19:06 
AnswerRe: Pls. how can I avoid these exceptions Pin
Brady Kelly27-Mar-07 19:47
MemberBrady Kelly27-Mar-07 19:47 
QuestionWindows service load sequence question.... Pin
Draqonis26-Mar-07 11:18
MemberDraqonis26-Mar-07 11:18 
AnswerRe: Windows service load sequence question.... Pin
kubben27-Mar-07 3:13
Memberkubben27-Mar-07 3:13 
QuestionMozilla FireFox Support in .NET Framework 2.0 Config Pin
Vasudevan Deepak Kumar26-Mar-07 11:06
MemberVasudevan Deepak Kumar26-Mar-07 11:06 
QuestionClosing tcp port on Dual 2 Core processor Pin
Draqonis26-Mar-07 5:22
MemberDraqonis26-Mar-07 5:22 
QuestionMSI Programming Pin
tonyalex26-Mar-07 4:46
Membertonyalex26-Mar-07 4:46 

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.