| | |
App runing in systray, alert user with pop up form
Please support our VB.NET advertiser: $4.95 a Month - ASP.NET Web Hosting – Click Here!
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
| Thread Tools | Search this Thread |
.net .net2008 2005 2008 access account application arithmetic array basic beginner browser button buttons center check click code combo crystalreport cuesent database datagrid datagridview date datetimepicker designer dissertation dissertations dissertationtopic dropdownlist excel exists fade file-dialog filter forms ftp generatetags hardcopy html images input insert intel listview module monitor net networking number open output panel passingparameters picturebox picturebox1 picturebox2 port print printing problem project regex right-to-left searchvb.net select settings shutdown socket sqldatbase sqlserver survey tcp temperature text textbox timespan toolbox transparency trim txttoxmlconverter user usercontol vb vb.net vb.netformclosing()eventpictureboxmessagebox vb2008 vbnet view visual visualbasic.net visualstudio.net visualstudio2008 web winforms wpf wrapingcode xml year





