Click here to Skip to main content
15,891,204 members
Home / Discussions / C#
   

C#

 
AnswerRe: Error Deleting File or Folder Pin
DavidNohejl17-Oct-07 0:47
DavidNohejl17-Oct-07 0:47 
GeneralRe: Error Deleting File or Folder Pin
jayart17-Oct-07 1:19
jayart17-Oct-07 1:19 
GeneralRe: Error Deleting File or Folder Pin
DavidNohejl17-Oct-07 1:30
DavidNohejl17-Oct-07 1:30 
GeneralRe: Error Deleting File or Folder Pin
Pete O'Hanlon17-Oct-07 1:55
mvePete O'Hanlon17-Oct-07 1:55 
Questionhow to stop a process during running Pin
Seraph_summer16-Oct-07 22:16
Seraph_summer16-Oct-07 22:16 
AnswerRe: how to stop a process during running Pin
Martin#16-Oct-07 22:21
Martin#16-Oct-07 22:21 
GeneralRe: how to stop a process during running Pin
Seraph_summer17-Oct-07 2:30
Seraph_summer17-Oct-07 2:30 
AnswerRe: how to stop a process during running Pin
J4amieC16-Oct-07 22:26
J4amieC16-Oct-07 22:26 
well, you must have some condition inside your loop, you have to "and" that condition with a boolean flag which is set when the cancel button is clicked.

eg

bool cancel = false;<br />
<br />
while(yourCondition && !cancel)<br />
{<br />
// code<br />
}


Then your cancel button would just set that cancel variable to true. You will need to do your loop within another thread in order to keep the form responsive.






Questionabut multi-Server question Pin
jason_mf16-Oct-07 22:06
jason_mf16-Oct-07 22:06 
QuestionPlease help me with SqlCommanBuilder for inserting and updating Master/Detail Tables. Pin
pcphuc16-Oct-07 21:29
pcphuc16-Oct-07 21:29 
QuestionIntegration of ResumeGrabber with .net Pin
amya12116-Oct-07 21:00
amya12116-Oct-07 21:00 
Questionregarding datagridview Pin
praveenkumar palla16-Oct-07 20:54
praveenkumar palla16-Oct-07 20:54 
AnswerRe: regarding datagridview Pin
Andrei Ungureanu16-Oct-07 21:06
Andrei Ungureanu16-Oct-07 21:06 
GeneralRe: regarding datagridview Pin
praveenkumar palla16-Oct-07 21:37
praveenkumar palla16-Oct-07 21:37 
Questionplease help Pin
Sonia Gupta16-Oct-07 20:42
Sonia Gupta16-Oct-07 20:42 
AnswerRe: please help Pin
Malcolm Smart16-Oct-07 20:53
Malcolm Smart16-Oct-07 20:53 
AnswerRe: please help Pin
pmarfleet16-Oct-07 20:55
pmarfleet16-Oct-07 20:55 
GeneralRe: please help Pin
DavidNohejl17-Oct-07 0:41
DavidNohejl17-Oct-07 0:41 
AnswerRe: please help Pin
Malcolm Smart16-Oct-07 21:06
Malcolm Smart16-Oct-07 21:06 
GeneralRe: please help Pin
N a v a n e e t h16-Oct-07 21:25
N a v a n e e t h16-Oct-07 21:25 
GeneralRe: please help Pin
J4amieC16-Oct-07 22:17
J4amieC16-Oct-07 22:17 
GeneralRe: please help Pin
Pete O'Hanlon16-Oct-07 22:01
mvePete O'Hanlon16-Oct-07 22:01 
Questionwaht exactly the use of new keyword in c# Pin
sravani.p16-Oct-07 20:26
sravani.p16-Oct-07 20:26 
AnswerRe: waht exactly the use of new keyword in c# Pin
YouMiss16-Oct-07 20:37
YouMiss16-Oct-07 20:37 
AnswerRe: waht exactly the use of new keyword in c# Pin
Andrei Ungureanu16-Oct-07 20:37
Andrei Ungureanu16-Oct-07 20:37 

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.