Click here to Skip to main content
15,887,175 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Continue to next step in a for..next loop only when the user press a button. Pin
PIEBALDconsult18-Apr-15 19:21
mvePIEBALDconsult18-Apr-15 19:21 
GeneralRe: Continue to next step in a for..next loop only when the user press a button. Pin
dilkonika18-Apr-15 19:41
dilkonika18-Apr-15 19:41 
GeneralRe: Continue to next step in a for..next loop only when the user press a button. Pin
Richard MacCutchan18-Apr-15 21:11
mveRichard MacCutchan18-Apr-15 21:11 
GeneralRe: Continue to next step in a for..next loop only when the user press a button. Pin
dilkonika19-Apr-15 4:54
dilkonika19-Apr-15 4:54 
GeneralRe: Continue to next step in a for..next loop only when the user press a button. PinPopular
Dave Kreskowiak19-Apr-15 5:26
mveDave Kreskowiak19-Apr-15 5:26 
GeneralRe: Continue to next step in a for..next loop only when the user press a button. Pin
dilkonika19-Apr-15 5:30
dilkonika19-Apr-15 5:30 
GeneralRe: Continue to next step in a for..next loop only when the user press a button. Pin
Richard MacCutchan19-Apr-15 6:59
mveRichard MacCutchan19-Apr-15 6:59 
GeneralRe: Continue to next step in a for..next loop only when the user press a button. PinPopular
Dave Kreskowiak19-Apr-15 5:20
mveDave Kreskowiak19-Apr-15 5:20 
How about I restart PIEBALD's answer.

You CAN'T do this with a for loop.

A Windows Forms app is a state machine that reacts to inputs like mouse and keyboard events. You CAN'T stop a loop and wait for input as your UI code is busy in the middle of the loop and cannot process input events until the code goes back to an idle state, meaning it's not executing any of your code!
A guide to posting questions on CodeProject

Click this: Asking questions is a skill.
Seriously, do it.

Dave Kreskowiak

GeneralRe: Continue to next step in a for..next loop only when the user press a button. Pin
dilkonika19-Apr-15 5:28
dilkonika19-Apr-15 5:28 
GeneralRe: Continue to next step in a for..next loop only when the user press a button. Pin
Dave Kreskowiak19-Apr-15 5:35
mveDave Kreskowiak19-Apr-15 5:35 
GeneralRe: Continue to next step in a for..next loop only when the user press a button. Pin
dilkonika19-Apr-15 5:54
dilkonika19-Apr-15 5:54 
GeneralRe: Continue to next step in a for..next loop only when the user press a button. Pin
Simon_Whale20-Apr-15 3:41
Simon_Whale20-Apr-15 3:41 
AnswerRe: Continue to next step in a for..next loop only when the user press a button. Pin
Richard Deeming20-Apr-15 3:02
mveRichard Deeming20-Apr-15 3:02 
GeneralRe: Continue to next step in a for..next loop only when the user press a button. Pin
dilkonika20-Apr-15 12:24
dilkonika20-Apr-15 12:24 
GeneralRe: Continue to next step in a for..next loop only when the user press a button. Pin
Dave Kreskowiak20-Apr-15 16:03
mveDave Kreskowiak20-Apr-15 16:03 
RantRe: Continue to next step in a for..next loop only when the user press a button. Pin
Richard Deeming21-Apr-15 2:12
mveRichard Deeming21-Apr-15 2:12 
GeneralRe: Continue to next step in a for..next loop only when the user press a button. Pin
dilkonika21-Apr-15 6:07
dilkonika21-Apr-15 6:07 
GeneralRe: Continue to next step in a for..next loop only when the user press a button. Pin
Richard Deeming21-Apr-15 6:33
mveRichard Deeming21-Apr-15 6:33 
GeneralRe: Continue to next step in a for..next loop only when the user press a button. Pin
dilkonika21-Apr-15 7:28
dilkonika21-Apr-15 7:28 
GeneralRe: Continue to next step in a for..next loop only when the user press a button. Pin
Eddy Vluggen21-Apr-15 9:15
professionalEddy Vluggen21-Apr-15 9:15 
GeneralRe: Continue to next step in a for..next loop only when the user press a button. Pin
Eddy Vluggen21-Apr-15 6:34
professionalEddy Vluggen21-Apr-15 6:34 
GeneralRe: Continue to next step in a for..next loop only when the user press a button. Pin
Sascha Lefèvre25-May-15 17:06
professionalSascha Lefèvre25-May-15 17:06 
GeneralRe: Continue to next step in a for..next loop only when the user press a button. Pin
Eddy Vluggen26-May-15 3:12
professionalEddy Vluggen26-May-15 3:12 
Questionvb.net to vb6 convertion Pin
hitu4u06716-Apr-15 23:04
hitu4u06716-Apr-15 23:04 
AnswerRe: vb.net to vb6 convertion Pin
Dave Kreskowiak17-Apr-15 2:31
mveDave Kreskowiak17-Apr-15 2:31 

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.