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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top