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

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
Try putting it in the OnShown event. That is called one time. Or
start your program from Sub Main and call your dialog there.
 
Back
Top