Link to home
Start Free TrialLog in
Avatar of Murray Brown
Murray BrownFlag for United Kingdom of Great Britain and Northern Ireland

asked on

vb.net/VSTO 2005 - Windows Form

Hi

I have a Windows form that loads on various events. The trouble is that it loads twice
sometimes. How do prevent this.

Also how do you make sure that a  Windows form appears above all your other apps, files etc.

Is it something to do with focus?

Thanks
Avatar of davidrichardson
davidrichardson

to make the form appears above all your other apps
in the form load event

Me.TopMost = True
ASKER CERTIFIED SOLUTION
Avatar of davidrichardson
davidrichardson

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Murray Brown

ASKER

Graet answer!
Thanks very much for all the info