19
Answers

How to implement multiple thread?

Photo of jaypee bacol

jaypee bacol

15y
6.3k
1
Hi,

I want to create a project/program that implements multiple thread. Below is my algorithm.

For example, display no 1 to 10 with delay(500).

1. In a window form, there is a command button named btnProcess.
2. There is a separate window form for status/monitoring of process.
2. When I click btnProcess, it creates a thread to process and update the status/monitoring window.
3. Without waiting that process, simultaneously, I can click again the cmdProcess and create another thread to process and then update again the status/monitoring window.
4. I can do step 3 over and over again.

And can it be possible if my monitoring is console while the major GUI is window form type?

Please help me.

Thanks,
Jaypee

Answers (19)

0
Photo of Jignesh Trivedi
NA 61.3k 14.2m 12y

hi,

this is depending on which type of security mechnisum you required.
you can use certificate base security also
http://www.codeproject.com/Articles/18601/An-easy-way-to-use-certificates-for-WCF-security

you must have to select proper binding for same
http://msdn.microsoft.com/en-IN/library/ms731884.aspx
http://wcfsecurity.codeplex.com/

hope this will help you.

0
Photo of Javeed M Shaikh
NA 7.8k 69.7k 12y