Home All Groups Group Topic Archive Search About

CALL a dialog form just after the main form is loaded.

Author
3 May 2006 4:48 PM
Windy
Hi all,
    I would like to call a dialog form from the main form, just after the
main form is loaded.

however, if i put the code at either Form_Load or FormActivate, they both
cannot achieve it, as the main form is not visible yet, and with the dialog
form showing..

Any idea on how to implement this?

Thanks
windy

Author
3 May 2006 5:25 PM
Chris Dunaway
Try putting it in the OnShown event.  That is called one time.  Or
start your program from Sub Main and call your dialog there.