| | |
App runing in systray, alert user with pop up form
Please support our VB.NET advertiser: Programming Forums - DaniWeb Sister Site
Thread Solved |
•
•
Join Date: Dec 2008
Posts: 2
Reputation:
Solved Threads: 0
Hi all,
I have a small app in .net 2008, running (in systray), in many computers in my company, that has to alert the user a few times during the day's work, and sometimes ask for their input.
The problem is, when, i open a form (show or showdialog), it doesn't popup, this because the user is working in other office app's, and the forms stays behind, and most of the times the users don't even pay attention.
Is there a way to put a form in popup, jumping in front of any app that may be open or maybe create a window info, like the one outlook does when alerting of an incoming mail?
Thanks for any help
I have a small app in .net 2008, running (in systray), in many computers in my company, that has to alert the user a few times during the day's work, and sometimes ask for their input.
The problem is, when, i open a form (show or showdialog), it doesn't popup, this because the user is working in other office app's, and the forms stays behind, and most of the times the users don't even pay attention.
Is there a way to put a form in popup, jumping in front of any app that may be open or maybe create a window info, like the one outlook does when alerting of an incoming mail?
Thanks for any help
Set TopMost property of your pop up form
After the user has somehow "reacted" to your pop up, you may set TopMost = False to allow user send your form to background.
VB.NET Syntax (Toggle Plain Text)
Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load ' Me.TopMost = True End Sub
Teme64 @ Windows Developer Blog
•
•
Join Date: Dec 2002
Posts: 461
Reputation:
Solved Threads: 56
Why not use a notify icon. Here's how to do one.
http://www.codeproject.com/KB/dotnet...control20.aspx
http://www.codeproject.com/KB/dotnet...control20.aspx
Wayne
It is hard to understand how a cemetery can raise its burial rates and blame it on the cost of living.
It is hard to understand how a cemetery can raise its burial rates and blame it on the cost of living.
•
•
Join Date: Dec 2008
Posts: 2
Reputation:
Solved Threads: 0
•
•
•
•
Set TopMost property of your pop up form
After the user has somehow "reacted" to your pop up, you may set TopMost = False to allow user send your form to background.VB.NET Syntax (Toggle Plain Text)
Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load ' Me.TopMost = True End Sub
that worked just fine
Hi! Nice to hear that you got answer to your problem, could you please mark the thread as solved. Thank you!
Teme64 @ Windows Developer Blog
![]() |
Other Threads in the VB.NET Forum
- Previous Thread: ASP Interface in VS2005
- Next Thread: Explorer form in vb.net
Views: 1157 | Replies: 4
| Thread Tools | Search this Thread |
Tag cloud for VB.NET
"crystal .net .net2005 30minutes 2008 access add application array assignment basic binary box button buttons center code connectionstring convert cpu data database databasesearch datagrid datagridview design designer dissertation dissertations dissertationthesis dll dosconsolevb.net editvb.net employees error excel exists firewall folder function image images isnumericfuntioncall listview login math memory mobile module msaccess mssqlbackend mysql navigate net opacity page pan peertopeervideostreaming picturebox plugin port print printing printpreview problem record refresh reports" reuse save savedialog search serial sorting sql sqldatbase storedprocedure string structures studio temp textbox timer upload useraccounts usercontrol vb vb.net vb.netcode vb.nettoolboxvisualbasic2008sidebar vb2008 vbnet vista visual visualbasic visualbasic.net visualstudio2008 web wpf xml





