Click here to Skip to main content
15,877,591 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to control web components in winform by embeding a browser(ie) Pin
Heath Stewart13-Nov-03 3:47
protectorHeath Stewart13-Nov-03 3:47 
GeneralRe: how to control web components in winform by embeding a browser(ie) Pin
J. Dunlap13-Nov-03 8:26
J. Dunlap13-Nov-03 8:26 
GeneralCOM+ Transaction 70-320 exam question Pin
CillyMe12-Nov-03 17:52
CillyMe12-Nov-03 17:52 
GeneralFileDialog in WEB forms application Pin
Rostrox12-Nov-03 17:22
Rostrox12-Nov-03 17:22 
GeneralRe: FileDialog in WEB forms application Pin
Heath Stewart13-Nov-03 3:20
protectorHeath Stewart13-Nov-03 3:20 
GeneralQuestion about threads Pin
zhang_ding12-Nov-03 15:53
zhang_ding12-Nov-03 15:53 
GeneralRe: Question about threads Pin
mhmoud rawas13-Nov-03 0:44
mhmoud rawas13-Nov-03 0:44 
GeneralRe: Question about threads Pin
zhang_ding13-Nov-03 16:24
zhang_ding13-Nov-03 16:24 
The following is part of my code, one of the thread[]'s ThreadState is always Running. This may occurs once when the program runs more than 5 times

private void monitorThread()
{
while(!endFlag)
{
bool flag = false;
Thread.Sleep(100);
if(groupID == maxKey)
{
for(int i = 0;i < threadNum;i ++)
{
//the program will loop to check if thread[] all stopped
flag = flag || thread[i].IsAlive;
}
if(!flag)
endFlag = true;
}

for(int i = 0;i < threadNum;i ++)
{
if(!thread[i].IsAlive && (groupID < maxKey))
{
thread[i] = new Thread(new ThreadStart(singleThread));
thread[i].IsBackground = true;
thread[i].Start();
}
}
}
private void singleThread()
{
...
catch(ThreadAbortException)
{
closeDataSource(connSrc,connODBCSrc,connDest,connODBCDest,csSrc,csDest);
}
catch(Exception ex)
{
closeDataSource(connSrc,connODBCSrc,connDest,connODBCDest,csSrc,csDest);
...
}
}
GeneralNet Send Emulator Pin
obelisk2912-Nov-03 8:28
obelisk2912-Nov-03 8:28 
GeneralRe: Net Send Emulator Pin
Anonymous12-Nov-03 8:42
Anonymous12-Nov-03 8:42 
GeneralRe: Net Send Emulator Pin
obelisk2912-Nov-03 8:46
obelisk2912-Nov-03 8:46 
GeneralRe: Net Send Emulator Pin
Heath Stewart12-Nov-03 9:03
protectorHeath Stewart12-Nov-03 9:03 
GeneralRe: Net Send Emulator Pin
obelisk2912-Nov-03 9:58
obelisk2912-Nov-03 9:58 
GeneralRe: Net Send Emulator Pin
Daniel M. Edwards12-Nov-03 13:33
Daniel M. Edwards12-Nov-03 13:33 
GeneralRe: Net Send Emulator Pin
Heath Stewart12-Nov-03 8:59
protectorHeath Stewart12-Nov-03 8:59 
GeneralRe: Net Send Emulator Pin
obelisk2912-Nov-03 9:02
obelisk2912-Nov-03 9:02 
GeneralRe: Net Send Emulator Pin
obelisk2912-Nov-03 10:01
obelisk2912-Nov-03 10:01 
GeneralRe: Net Send Emulator Pin
Heath Stewart12-Nov-03 10:30
protectorHeath Stewart12-Nov-03 10:30 
GeneralRe: Net Send Emulator Pin
obelisk2912-Nov-03 10:38
obelisk2912-Nov-03 10:38 
GeneralRe: Net Send Emulator Pin
Heath Stewart12-Nov-03 10:44
protectorHeath Stewart12-Nov-03 10:44 
GeneralRe: Net Send Emulator Pin
mhmoud rawas13-Nov-03 0:28
mhmoud rawas13-Nov-03 0:28 
GeneralC# App video control Pin
antoine@orchus-tech12-Nov-03 6:19
antoine@orchus-tech12-Nov-03 6:19 
GeneralRe: C# App video control Pin
Heath Stewart12-Nov-03 8:36
protectorHeath Stewart12-Nov-03 8:36 
GeneralRe: C# App video control Pin
antoine@orchus-tech14-Nov-03 6:56
antoine@orchus-tech14-Nov-03 6:56 
QuestionNeed Help? Pin
Chathura12-Nov-03 6:07
Chathura12-Nov-03 6:07 

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.