I want to make a form pop up the first time a user executes my application to create some settings to save to an INI file for future reference.
How do I make this form pop up but not load the main form until the settings have been selected?
Printable View
I want to make a form pop up the first time a user executes my application to create some settings to save to an INI file for future reference.
How do I make this form pop up but not load the main form until the settings have been selected?
In your main form load
VB Code:
Form2.Show vbModal
the modal call will make sure that nothing else is executed in your main form until the second form releases.
Thanks space_monkey, how do you release?
VB Code:
Form2.Hide
Yeah you can use .hide or unload the form.
It would be better to unload the form. If you have everything you need, then there is no reason to keep it loaded and in memory.
Ok, thanks all...
Curiousity question.Quote:
Originally Posted by bat711
If you only need this to run once the very first time your program starts, how are you preventing it from being displayed again the next time your program runs?