Click here to Skip to main content
15,893,487 members
Home / Discussions / C#
   

C#

 
AnswerRe: converting number String to Float ?! Pin
Martin#15-Apr-07 7:53
Martin#15-Apr-07 7:53 
Question.Net 30 y .Net20 Pin
123456uio15-Apr-07 5:21
123456uio15-Apr-07 5:21 
AnswerRe: .Net 30 y .Net20 Pin
Guffa15-Apr-07 5:33
Guffa15-Apr-07 5:33 
AnswerRe: .Net 30 y .Net20 Pin
Thomas Stockwell15-Apr-07 5:37
professionalThomas Stockwell15-Apr-07 5:37 
QuestionHi, How can I set priority for some Timer's events? Pin
hasi2715-Apr-07 4:45
hasi2715-Apr-07 4:45 
AnswerRe: Hi, How can I set priority for some Timer's events? Pin
Jun Du15-Apr-07 5:31
Jun Du15-Apr-07 5:31 
AnswerRe: Hi, How can I set priority for some Timer's events? Pin
S. Senthil Kumar15-Apr-07 5:39
S. Senthil Kumar15-Apr-07 5:39 
AnswerRe: Hi, How can I set priority for some Timer's events? Pin
Luc Pattyn15-Apr-07 6:20
sitebuilderLuc Pattyn15-Apr-07 6:20 
Hi,

I would say you cant set priority for the normal timer events:

all Windows.Forms.Timers get their event handled by the UI thread, hence at the same priority; it is unclear (I guess unspecified) in which order they would fire assuming
more than one of the timers is supposed to fire at a specific point in time
(maybe you will find my timers article interesting, it tells you more about the
resolution of the timer classes).

all other timers (Windows.Threading.Timer and Windows.Timers.Timer), as well as other
asynchronous events, typically use their own thread to service the event.
Here too, you typically dont control the thread's priority,
and the order of concurrent events is unspecified.

of course, you could organize a periodic event at a higher priority by using
your own thread, set at higher (maybe real-time) priority, and using a high-precision
timer (again see my article).

Hope this helps.

Smile | :)




Luc Pattyn

[My Articles]

Questionconvert an expresion in a result Pin
xtremetechnology15-Apr-07 3:17
xtremetechnology15-Apr-07 3:17 
AnswerRe: convert an expresion in a result Pin
Jun Du15-Apr-07 5:19
Jun Du15-Apr-07 5:19 
GeneralRe: convert an expresion in a result Pin
xtremetechnology15-Apr-07 5:38
xtremetechnology15-Apr-07 5:38 
GeneralRe: convert an expresion in a result Pin
Jun Du15-Apr-07 6:12
Jun Du15-Apr-07 6:12 
AnswerRe: convert an expresion in a result Pin
Jaiprakash M Bankolli15-Apr-07 7:39
Jaiprakash M Bankolli15-Apr-07 7:39 
AnswerRe: convert an expresion in a result Pin
Leslie Sanford15-Apr-07 7:59
Leslie Sanford15-Apr-07 7:59 
AnswerRe: convert an expresion in a result Pin
sherifffruitfly15-Apr-07 15:09
sherifffruitfly15-Apr-07 15:09 
QuestionMoving list view items up or down. Pin
kripzz15-Apr-07 2:24
kripzz15-Apr-07 2:24 
AnswerRe: Moving list view items up or down. Pin
Luc Pattyn15-Apr-07 6:00
sitebuilderLuc Pattyn15-Apr-07 6:00 
GeneralRe: Moving list view items up or down. Pin
kripzz15-Apr-07 12:47
kripzz15-Apr-07 12:47 
AnswerRe: Moving list view items up or down. Pin
Jaiprakash M Bankolli15-Apr-07 7:41
Jaiprakash M Bankolli15-Apr-07 7:41 
GeneralRe: Moving list view items up or down. Pin
kripzz15-Apr-07 13:07
kripzz15-Apr-07 13:07 
GeneralRe: Moving list view items up or down. [modified] Pin
Luc Pattyn15-Apr-07 13:38
sitebuilderLuc Pattyn15-Apr-07 13:38 
GeneralRe: Moving list view items up or down. Pin
kripzz16-Apr-07 2:51
kripzz16-Apr-07 2:51 
GeneralRe: Moving list view items up or down. Pin
Luc Pattyn16-Apr-07 3:08
sitebuilderLuc Pattyn16-Apr-07 3:08 
QuestionHow c# app connect to sql server on another pc in local network? Pin
sgeorgije15-Apr-07 2:04
sgeorgije15-Apr-07 2:04 
AnswerRe: How c# app connect to sql server on another pc in local network? Pin
Damir Ugrin15-Apr-07 3:42
Damir Ugrin15-Apr-07 3:42 

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.