Click here to Skip to main content
15,889,595 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: String compare oddity Pin
PIEBALDconsult19-Aug-11 9:58
mvePIEBALDconsult19-Aug-11 9:58 
GeneralRe: String compare oddity Pin
Shameel20-Aug-11 8:28
professionalShameel20-Aug-11 8:28 
AnswerRe: String compare oddity Pin
PIEBALDconsult19-Aug-11 20:06
mvePIEBALDconsult19-Aug-11 20:06 
Questionplz brack my licence Pin
saqibali211918-Aug-11 8:09
saqibali211918-Aug-11 8:09 
QuestionHow to execute method n-times in a second? Pin
Tesic Goran17-Aug-11 21:03
professionalTesic Goran17-Aug-11 21:03 
AnswerRe: How to execute method n-times in a second? Pin
Shameel17-Aug-11 21:55
professionalShameel17-Aug-11 21:55 
GeneralRe: How to execute method n-times in a second? Pin
Tesic Goran17-Aug-11 22:28
professionalTesic Goran17-Aug-11 22:28 
AnswerRe: How to execute method n-times in a second? Pin
Pete O'Hanlon17-Aug-11 22:13
mvePete O'Hanlon17-Aug-11 22:13 
The bad news is that you can't resolve this issue. If you think about it for a little bit, you'll see why. Here's a hint - you need to execute a task several number of times a second and those tasks take a finite amount of time; creating the threads (or switching to them in a threadpool) also takes a period of time - even if you are running on a multi-core machine, there are only a set number of tasks that can be spawned and run in that period of time.

By the way, you have a marshalling issue in your code (you may be suppressing it, but it still takes time). Basically, you are interacting with a UI component from a none-UI thread. WinForms is STA, so you should be marshalling the calls back to the UI thread.

Forgive your enemies - it messes with their heads


My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility


GeneralRe: How to execute method n-times in a second? Pin
Tesic Goran17-Aug-11 22:34
professionalTesic Goran17-Aug-11 22:34 
GeneralRe: How to execute method n-times in a second? Pin
Pete O'Hanlon17-Aug-11 23:57
mvePete O'Hanlon17-Aug-11 23:57 
AnswerRe: How to execute method n-times in a second? Pin
Luc Pattyn18-Aug-11 2:46
sitebuilderLuc Pattyn18-Aug-11 2:46 
Questionhttp://www.hotelsneardisneyland.biz/ Pin
lennonn1215-Aug-11 21:13
lennonn1215-Aug-11 21:13 
Question.NET Online Travel Guide Project Pin
Vanessa Vidal15-Aug-11 13:20
Vanessa Vidal15-Aug-11 13:20 
AnswerRe: .NET Online Travel Guide Project Pin
Not Active15-Aug-11 13:27
mentorNot Active15-Aug-11 13:27 
AnswerRe: .NET Online Travel Guide Project Pin
#realJSOP17-Aug-11 4:11
mve#realJSOP17-Aug-11 4:11 
AnswerRe: .NET Online Travel Guide Project Pin
Abhinav S17-Aug-11 8:23
Abhinav S17-Aug-11 8:23 
QuestionFile write times in .NET local drive vs. NAS drive Pin
MikeAngel15-Aug-11 11:07
MikeAngel15-Aug-11 11:07 
AnswerRe: File write times in .NET local drive vs. NAS drive Pin
Luc Pattyn15-Aug-11 11:39
sitebuilderLuc Pattyn15-Aug-11 11:39 
GeneralRe: File write times in .NET local drive vs. NAS drive Pin
MikeAngel15-Aug-11 12:10
MikeAngel15-Aug-11 12:10 
QuestionMessage Closed Pin
15-Aug-11 10:43
mwhardin15-Aug-11 10:43 
AnswerRe: Is Sql2Code.com a good developer tool? Would you use it? Pin
Richard MacCutchan15-Aug-11 22:34
mveRichard MacCutchan15-Aug-11 22:34 
GeneralRe: Is Sql2Code.com a good developer tool? Would you use it? Pin
mwhardin16-Aug-11 9:28
mwhardin16-Aug-11 9:28 
QuestionTHREE TIER WITH ASP.NET WEBSERVICES Pin
sheemap14-Aug-11 11:47
sheemap14-Aug-11 11:47 
AnswerPlease don't - Repost Pin
thatraja14-Aug-11 18:18
professionalthatraja14-Aug-11 18:18 
AnswerRe: THREE TIER WITH ASP.NET WEBSERVICES Pin
Not Active14-Aug-11 18:53
mentorNot Active14-Aug-11 18:53 

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.