Click here to Skip to main content
15,887,175 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
When I minimize my application to the system tray and then when I try to activate, it doesn't come to the front.
Posted
Updated 13-Nov-11 20:34pm
v2
Comments
NikulDarji 14-Nov-11 2:01am    
Improve your question....what happened to your application....it throughs any exception???or show the error...
LanFanNinja 14-Nov-11 2:11am    
Check solutions below.

use Me.TopMost = True
 
Share this answer
 
Solution1 will indeed bring your form to the front but it will also keep it there in front of all other windows (sort of like a dialog box) if this is what you intend that that will work fine. However if this is not what you intend try Me.BringToFront() instead.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900