Click here to Skip to main content
15,886,873 members
Home / Discussions / C#
   

C#

 
GeneralPDF area selection Pin
Mercurius8415-Aug-13 18:34
Mercurius8415-Aug-13 18:34 
GeneralRe: PDF area selection Pin
Mycroft Holmes15-Aug-13 19:25
professionalMycroft Holmes15-Aug-13 19:25 
GeneralRe: PDF area selection Pin
Mercurius8416-Aug-13 0:24
Mercurius8416-Aug-13 0:24 
GeneralRe: PDF area selection Pin
Sivaraman Dhamodharan15-Aug-13 23:57
Sivaraman Dhamodharan15-Aug-13 23:57 
GeneralRe: PDF area selection Pin
Mercurius8416-Aug-13 0:28
Mercurius8416-Aug-13 0:28 
QuestionTCP error code 10013: An attempt was made to access a socket in a way forbidden by its access permissions 17.21.11.17:8080 Pin
BalasubramanianK15-Aug-13 4:28
BalasubramanianK15-Aug-13 4:28 
SuggestionRe: TCP error code 10013: An attempt was made to access a socket in a way forbidden by its access permissions 17.21.11.17:8080 Pin
Richard MacCutchan15-Aug-13 4:37
mveRichard MacCutchan15-Aug-13 4:37 
QuestionMulti-Threading PinPopular
bh_15-Aug-13 2:54
bh_15-Aug-13 2:54 
Dear C# enthusiasts,

I am currently developing a C# application that controls some test equipment and performs functional tests on a product. This type of application is inherently sequential in nature so I have thus far avoided muddying the water with issues of multi-threading.

However, I am dissatisfied with my programs because the UI is not responsive while my functional test loop is running. At the moment the limit of my programming skill only allows for dirty calls to Application.DoEvents() in order to process data on my UI as the test is executing.

It seems, then, that whilst my program is inherently sequential I would benefit from having the UI and the test loop running concurrently. And now we arrive at the core of my question:

What multi-threading method is the path of least resistance for this kind of application given that I am not very experienced in C#?

So far I have read about the background worker and tasks. My understanding is that tasks are the way forwards for .net developers and that it's becoming very important to have a grasp of them. I read some articles about it here on Code Project but unfortunately I have found them difficult to follow. That is a reflection upon my level of competency, not the articles themselves.

I am willing to persevere with tasks to gain full understanding but only if that knowledge is likely to be of significant benefit to me in the future.

Advice and comments are welcome.

Thanks,

Brian.
Electronics Engineer, Computer Programmer and general GEEK.

AnswerRe: Multi-Threading Pin
Garth J Lancaster15-Aug-13 3:26
professionalGarth J Lancaster15-Aug-13 3:26 
AnswerRe: Multi-Threading Pin
Ravi Bhavnani15-Aug-13 5:02
professionalRavi Bhavnani15-Aug-13 5:02 
GeneralRe: Multi-Threading Pin
bh_15-Aug-13 21:17
bh_15-Aug-13 21:17 
GeneralRe: Multi-Threading Pin
Ravi Bhavnani16-Aug-13 5:36
professionalRavi Bhavnani16-Aug-13 5:36 
GeneralRe: Multi-Threading Pin
bh_16-Aug-13 5:41
bh_16-Aug-13 5:41 
AnswerRe: Multi-Threading Pin
Forbiddenx16-Aug-13 8:13
Forbiddenx16-Aug-13 8:13 
AnswerRe: Multi-Threading Pin
Septimus Hedgehog16-Aug-13 9:38
Septimus Hedgehog16-Aug-13 9:38 
QuestionASP.NET C# Custom Control with Postback. Pin
Forbiddenx14-Aug-13 3:29
Forbiddenx14-Aug-13 3:29 
AnswerRe: ASP.NET C# Custom Control with Postback. Pin
OriginalGriff14-Aug-13 3:41
mveOriginalGriff14-Aug-13 3:41 
GeneralRe: ASP.NET C# Custom Control with Postback. Pin
Richard MacCutchan14-Aug-13 3:43
mveRichard MacCutchan14-Aug-13 3:43 
SuggestionRe: ASP.NET C# Custom Control with Postback. Pin
Richard MacCutchan14-Aug-13 3:42
mveRichard MacCutchan14-Aug-13 3:42 
GeneralRe: ASP.NET C# Custom Control with Postback. Pin
Forbiddenx14-Aug-13 3:51
Forbiddenx14-Aug-13 3:51 
GeneralRe: ASP.NET C# Custom Control with Postback. Pin
Richard MacCutchan14-Aug-13 4:29
mveRichard MacCutchan14-Aug-13 4:29 
GeneralRe: ASP.NET C# Custom Control with Postback. Pin
Chris Maunder14-Aug-13 4:40
cofounderChris Maunder14-Aug-13 4:40 
AnswerRe: ASP.NET C# Custom Control with Postback. Pin
Richard Deeming14-Aug-13 3:47
mveRichard Deeming14-Aug-13 3:47 
GeneralRe: ASP.NET C# Custom Control with Postback. Pin
Forbiddenx14-Aug-13 3:57
Forbiddenx14-Aug-13 3:57 
AnswerRe: ASP.NET C# Custom Control with Postback. Pin
Richard Deeming14-Aug-13 4:01
mveRichard Deeming14-Aug-13 4:01 

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.