Click here to Skip to main content
15,895,011 members
Home / Discussions / C#
   

C#

 
GeneralRe: DoubleClikc Event of ComboBox Pin
Heath Stewart18-Feb-04 4:38
protectorHeath Stewart18-Feb-04 4:38 
QuestionHow to work around screensaver?? Pin
mdundek17-Feb-04 22:06
mdundek17-Feb-04 22:06 
AnswerRe: How to work around screensaver?? Pin
Heath Stewart18-Feb-04 4:31
protectorHeath Stewart18-Feb-04 4:31 
GeneralRe: How to work around screensaver?? Pin
mdundek18-Feb-04 6:32
mdundek18-Feb-04 6:32 
GeneralSin graphic algorithm Pin
Anonymous17-Feb-04 20:09
Anonymous17-Feb-04 20:09 
GeneralRe: Sin graphic algorithm Pin
Colin Angus Mackay17-Feb-04 22:01
Colin Angus Mackay17-Feb-04 22:01 
GeneralRe: Sin graphic algorithm Pin
Werdna18-Feb-04 5:20
Werdna18-Feb-04 5:20 
Generalhigh precision event triggering in c# Pin
SIDDHARTH_JAIN17-Feb-04 19:50
SIDDHARTH_JAIN17-Feb-04 19:50 
I have an application in which I require event triggers every 1-5ms or so. I am using C# and as far as I can tell, the usual triggering method in C# actually uses the DateTime.Now.Ticks
property to generate event triggers. Thus its resolution is also limited to the resolution of DateTime.Now.Ticks which is 15.625 ms on my m/c (i.e. the smallest time interval whch DateTime.Now.Ticks can measure is 15.625 ms).
If I set my trigger interval to anywhere between 1 - 15 ms I actually get triggers only
after 15.625 ms. If I set my trigger interval to 16-31 ms I get triggers after
every 31.25 ms and so on. I can email you a .cs file that illustrates this point. If you run the program it asks you the trigger interval you want to set. Then it generates around 200 triggers and saves the measured intervals (using QueryPerformanceCounter) in a file.

Can anyone tell me if its possible to get triggers every 5ms or so?
GeneralRe: high precision event triggering in c# Pin
Member 26118818-Feb-04 2:54
Member 26118818-Feb-04 2:54 
GeneralRe: high precision event triggering in c# Pin
SIDDHARTH_JAIN18-Feb-04 11:36
SIDDHARTH_JAIN18-Feb-04 11:36 
GeneralRe: high precision event triggering in c# Pin
scadaguy18-Feb-04 4:20
scadaguy18-Feb-04 4:20 
QuestionWhat is the correspondence .Net Class? Pin
EastDragon17-Feb-04 19:47
EastDragon17-Feb-04 19:47 
AnswerRe: What is the correspondence .Net Class? Pin
Heath Stewart17-Feb-04 20:00
protectorHeath Stewart17-Feb-04 20:00 
GeneralC# scripts to validate zip codes & strings Pin
Reed Eichner17-Feb-04 17:56
Reed Eichner17-Feb-04 17:56 
GeneralRe: C# scripts to validate zip codes & strings Pin
John Kuhn17-Feb-04 19:44
John Kuhn17-Feb-04 19:44 
GeneralRe: C# scripts to validate zip codes & strings Pin
Reed Eichner17-Feb-04 19:57
Reed Eichner17-Feb-04 19:57 
GeneralRe: C# scripts to validate zip codes & strings Pin
Heath Stewart17-Feb-04 20:04
protectorHeath Stewart17-Feb-04 20:04 
GeneralRe: C# scripts to validate zip codes & strings Pin
John Kuhn17-Feb-04 20:09
John Kuhn17-Feb-04 20:09 
QuestionHow to know how much memory my app use? Pin
god4k17-Feb-04 15:14
god4k17-Feb-04 15:14 
AnswerRe: How to know how much memory my app use? Pin
Heath Stewart17-Feb-04 19:54
protectorHeath Stewart17-Feb-04 19:54 
GeneralIntergration with phones Pin
LanUx17-Feb-04 14:45
LanUx17-Feb-04 14:45 
GeneralRe: Intergration with phones Pin
Heath Stewart17-Feb-04 19:48
protectorHeath Stewart17-Feb-04 19:48 
GeneralCrystal reports and Sql Server Stored Procedures Pin
yetanotherchris17-Feb-04 14:06
yetanotherchris17-Feb-04 14:06 
GeneralRe: Crystal reports and Sql Server Stored Procedures Pin
Heath Stewart17-Feb-04 19:41
protectorHeath Stewart17-Feb-04 19:41 
GeneralRe: Crystal reports and Sql Server Stored Procedures Pin
yetanotherchris18-Feb-04 12:58
yetanotherchris18-Feb-04 12:58 

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.