Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB.net Application and Task Bar

Status
Not open for further replies.

dvannoy

MIS
May 4, 2001
2,765
US
Simple vb.net MDI application. why is it when the vb.net app is running and I try and click another program also running that program won't go in front of the vb.net application. I have to minimize the .net app in order to toggle back and forth to another app.

are there settings to correct this ?

Thanks in advance

 
Although I'm new in VB.net I saw nobody else has responded to your question yet, so I just made a quick sample mdi test program (using the default code in VS2008's mdi form) and with it running and a couple of child forms created, I find other programs do come to the front when selected. I tried running the IDE and running the compiled exe.
I have default IDE settings, so it doesn't seem like a normal VB.net thing.
Does something in your code set the order to override all other forms? I once had a VB6 app that set Z order above all others.

 
The problem seemed to be that I had the MDI form set to TopMost = True. once I turned that off everything seemed to work fine.

Thanks for the reply

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top