Guest bugaboo Posted June 30, 2002 Posted June 30, 2002 In vb.net, how can I keep the dialogbox open after retrieving the data? I set a button DialogResult=DialogResult.OK. In the main form, I put the code like this dim frmUserInput as new form2() If frmUserInput.ShowDialog(Me) = DialogResult.OK Then 'retrieve data end if But this will close the dialogbox. Quote
Guest avissoft Posted June 30, 2002 Posted June 30, 2002 After retrieveing the data open it again! :) Quote
*Gurus* divil Posted June 30, 2002 *Gurus* Posted June 30, 2002 That is the whole point, if you ShowDialog a form, it will wait until the form is closed before returning. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.