Click here to Skip to main content
15,912,897 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to show the characters of a text box in which its PasswordCharacter is set to '*'? Pin
OriginalGriff29-Aug-09 5:38
mveOriginalGriff29-Aug-09 5:38 
Questionhow to restrict users from setting focus to multiple cells in DataGridView ? Pin
alladeen29-Aug-09 5:05
alladeen29-Aug-09 5:05 
AnswerRe: how to restrict users from setting focus to multiple cells in DataGridView ? Pin
Henry Minute29-Aug-09 7:51
Henry Minute29-Aug-09 7:51 
Questionprint a image and text without using printer driver. using C#.NET Pin
shaktisinh29-Aug-09 3:57
shaktisinh29-Aug-09 3:57 
AnswerRe: print a image and text without using printer driver. using C#.NET Pin
Dave Kreskowiak29-Aug-09 5:47
mveDave Kreskowiak29-Aug-09 5:47 
GeneralRe: print a image and text without using printer driver. using C#.NET Pin
shaktisinh30-Aug-09 23:54
shaktisinh30-Aug-09 23:54 
GeneralRe: print a image and text without using printer driver. using C#.NET Pin
Dave Kreskowiak31-Aug-09 1:01
mveDave Kreskowiak31-Aug-09 1:01 
QuestionUI Not Responsive Pin
Abdul Rahman Hamidy29-Aug-09 1:35
Abdul Rahman Hamidy29-Aug-09 1:35 
Dear All, I have following code to run 10 thread at same time
for(byte i=0; i<10; i++)
{
Thread t=new Thread(new ThreadStart(runAction));
t.IsBackground=true;
}
void runAction()
{
if (InvokeRequired)
			{
				BeginInvoke(new run(runAction));
				return;
			}
//do heavy process here and show it in progress bar
//Application.DoEvent();
}

If i uncomment the code Application.DoEvent() then it will give me the responsive interface, but also it starts the last action first, while i want to run them concurrnetly and then the second last and so on to first.
if i comment the code Application.DoEvent() then only one (first thread) runs and others are stack, like one finish then another start and so on.
I want to run thread concurrently and i would like have my UI working?
what is wrong with my code?

Abdul Rahaman Hamidy
Database Developer
Kabul, Afghanistan

AnswerRe: UI Not Responsive Pin
Dave Kreskowiak29-Aug-09 5:23
mveDave Kreskowiak29-Aug-09 5:23 
GeneralRe: UI Not Responsive Pin
Abdul Rahman Hamidy29-Aug-09 20:48
Abdul Rahman Hamidy29-Aug-09 20:48 
Questionhow to connect 9 pin serial port plug to itself so tha one can recive the data in the 2nd Pin andtransmit in 3rd pin Pin
pallaka28-Aug-09 23:44
pallaka28-Aug-09 23:44 
AnswerRe: how to connect 9 pin serial port plug to itself so tha one can recive the data in the 2nd Pin andtransmit in 3rd pin Pin
OriginalGriff28-Aug-09 23:53
mveOriginalGriff28-Aug-09 23:53 
GeneralRe: how to connect 9 pin serial port plug to itself so tha one can recive the data in the 2nd Pin andtransmit in 3rd pin Pin
pallaka29-Aug-09 0:09
pallaka29-Aug-09 0:09 
GeneralRe: how to connect 9 pin serial port plug to itself so tha one can recive the data in the 2nd Pin andtransmit in 3rd pin Pin
OriginalGriff29-Aug-09 0:29
mveOriginalGriff29-Aug-09 0:29 
AnswerRe: how to connect 9 pin serial port plug to itself so tha one can recive the data in the 2nd Pin andtransmit in 3rd pin Pin
Luc Pattyn29-Aug-09 0:35
sitebuilderLuc Pattyn29-Aug-09 0:35 
GeneralRe: how to connect 9 pin serial port plug to itself so tha one can recive the data in the 2nd Pin andtransmit in 3rd pin Pin
pallaka29-Aug-09 1:21
pallaka29-Aug-09 1:21 
GeneralRe: how to connect 9 pin serial port plug to itself so tha one can recive the data in the 2nd Pin andtransmit in 3rd pin Pin
Luc Pattyn29-Aug-09 1:42
sitebuilderLuc Pattyn29-Aug-09 1:42 
GeneralRe: how to connect 9 pin serial port plug to itself so tha one can recive the data in the 2nd Pin andtransmit in 3rd pin Pin
Dave Kreskowiak29-Aug-09 5:13
mveDave Kreskowiak29-Aug-09 5:13 
GeneralRe: how to connect 9 pin serial port plug to itself so tha one can recive the data in the 2nd Pin andtransmit in 3rd pin Pin
Luc Pattyn29-Aug-09 5:37
sitebuilderLuc Pattyn29-Aug-09 5:37 
GeneralRe: how to connect 9 pin serial port plug to itself so tha one can recive the data in the 2nd Pin andtransmit in 3rd pin Pin
mustang8629-Aug-09 12:21
mustang8629-Aug-09 12:21 
GeneralRe: how to connect 9 pin serial port plug to itself so tha one can recive the data in the 2nd Pin andtransmit in 3rd pin Pin
mustang8629-Aug-09 18:10
mustang8629-Aug-09 18:10 
Questionprogram in c# Pin
ayushibasant28-Aug-09 23:39
ayushibasant28-Aug-09 23:39 
AnswerRe: program in c# Pin
OriginalGriff28-Aug-09 23:50
mveOriginalGriff28-Aug-09 23:50 
AnswerRe: program in c# Pin
Super Lloyd28-Aug-09 23:57
Super Lloyd28-Aug-09 23:57 
AnswerRe: program in c# Pin
Rajesh R Subramanian29-Aug-09 1:20
professionalRajesh R Subramanian29-Aug-09 1:20 

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.