Click here to Skip to main content
15,922,696 members
Home / Discussions / Visual Basic
   

Visual Basic

 
Generalprinting my property settings Pin
gcody23-May-05 15:58
gcody23-May-05 15:58 
GeneralRe: printing my property settings Pin
Dave Kreskowiak24-May-05 4:01
mveDave Kreskowiak24-May-05 4:01 
Questionhow do i change my startup form???? Pin
Joey Picerno23-May-05 15:55
Joey Picerno23-May-05 15:55 
AnswerRe: how do i change my startup form???? Pin
Joey Picerno23-May-05 16:00
Joey Picerno23-May-05 16:00 
GeneralRe: how do i change my startup form???? Pin
Dave Kreskowiak24-May-05 3:58
mveDave Kreskowiak24-May-05 3:58 
GeneralRe: how do i change my startup form???? Pin
Blue_Boy24-May-05 4:22
Blue_Boy24-May-05 4:22 
GeneralRe: how do i change my startup form???? Pin
neohop24-May-05 5:54
neohop24-May-05 5:54 
GeneralPausing Code Pin
Reedmon2923-May-05 11:06
Reedmon2923-May-05 11:06 
I want to make a program that can modify the display of a form and will have the code pause while it is waiting for the user to click the Next button.

I could easily have the Next button do the work, but I want this to work similar to the Form.ShowDialog function. What I'm looking for is a way that a main module will be able to display this form, show the user some data, and then decide what to show the user next depending upon what the user does.

What I'm looking for is a way to do this...
If Form.Prompt("First window") = "Something" Then
Form.Prompt("Second window")
Else
Form.Prompt("Something else")
End If
Each Form.Prompt function would be like InputBox or Form.ShowDialog, except that the form in question never disapears. The user clicks the Next button, which triggers the Prompt function to return a specific value.

But, finally, what I cannot figure out is how to pause the Prompt function to wait for the user to click the Next button. I'm using VB.Net 2003, and I'm hoping for something like Application.Pause, and I can have the OnClick function for the Next button run Application.UnPause... unforntunately, neither function exists. What can I do instead?

Reed
GeneralRe: Pausing Code Pin
Christian Graus23-May-05 11:51
protectorChristian Graus23-May-05 11:51 
GeneralRe: Pausing Code Pin
Reedmon2923-May-05 16:09
Reedmon2923-May-05 16:09 
GeneralRe: Pausing Code Pin
rudy.net23-May-05 18:47
rudy.net23-May-05 18:47 
GeneralRe: Pausing Code Pin
Reedmon2924-May-05 3:16
Reedmon2924-May-05 3:16 
GeneralRe: Pausing Code Pin
rudy.net24-May-05 3:39
rudy.net24-May-05 3:39 
GeneralRe: Pausing Code Pin
Reedmon2924-May-05 3:51
Reedmon2924-May-05 3:51 
GeneralRe: Pausing Code Pin
Dave Kreskowiak24-May-05 3:51
mveDave Kreskowiak24-May-05 3:51 
GeneralAutomatic Numbering Pin
macca2423-May-05 10:33
macca2423-May-05 10:33 
GeneralRe: Automatic Numbering Pin
Christian Graus23-May-05 11:56
protectorChristian Graus23-May-05 11:56 
GeneralVB.Net Language Statement Pin
Fernando Soto23-May-05 10:18
Fernando Soto23-May-05 10:18 
GeneralRe: VB.Net Language Statement Pin
Dave Kreskowiak23-May-05 10:41
mveDave Kreskowiak23-May-05 10:41 
GeneralRe: VB.Net Language Statement Pin
Fernando Soto23-May-05 13:13
Fernando Soto23-May-05 13:13 
GeneralADODC Control Pin
ems18p23-May-05 8:40
ems18p23-May-05 8:40 
GeneralSaving in VB Pin
siskomike23-May-05 6:51
siskomike23-May-05 6:51 
GeneralRe: Saving in VB Pin
Brian Van Beek23-May-05 7:24
Brian Van Beek23-May-05 7:24 
GeneralRe: Saving in VB Pin
siskomike23-May-05 7:50
siskomike23-May-05 7:50 
GeneralRe: Saving in VB Pin
Brian Van Beek23-May-05 7:58
Brian Van Beek23-May-05 7:58 

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.