Sub Main and Form Minimize Question

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

Guest

It seems that if you call a form from sub main() you are not be able to
minimize the application, only exit it. The button at the top of the form is
the OK button regardless of how you set the Minimize property.

Can anyone confirm this behaviour and if so, is there a way to use sub main
as your startup object while still maintaining the minimize functionality?

Thanks
 
No one answered this question for me but I recently found out the answer.
You do not use frmwhatever.showdialog() you use application.run(new
frmwhatever()) in your sub main. I am posting this answer hoping that
someone else searching this newsgroup might find it useful.

Thanks
 
Back
Top