Solved

Keep System Tray Icon Active

Posted on 2007-11-30
6
434 Views
Last Modified: 2011-09-20
My VB app places an icon in the system tray with a context menu. In Windows XP if the app remains inactive for a little while the icon becomes hidden and user has to click the "show hidden icons" arrow to see it. Is there a way I can make the icon always stay in place in the system tray like Windows Live Messenger does?
0
Comment
Question by:submissiontechnology
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 2

Expert Comment

by:orphanc
ID: 20382015
Right click the taskbar, then select "Properties"

Under the Taskbar tab, click the box "Customize", it will show you a list of apps, which tend to show "hide when inactive" to the right of them. Select your VB app, and choose "show always". Does this help?

0
 

Author Comment

by:submissiontechnology
ID: 20382096
I'd rather add some code to my app to do that rather than asking users to do that setting manually.
0
 
LVL 55

Accepted Solution

by:
Jaime Olivares earned 500 total points
ID: 20382112
you need some kind of "keep-alive" technique. Maybe you can create a timer event, and call some NotifyIcon's method or modify a property like Text.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:submissiontechnology
ID: 20382681
Thanks I've added a timer to reset the icon will see on Monday if it did the trick.
0
 
LVL 11

Expert Comment

by:Wes Miller
ID: 20382840
You could also just have it execute systray.exe to refresh the takbar......
Systray.exe is a tool for system taskbar notifications. The taskbar provides a location for programs and hardware devices to display icons. For example, if your computer supports advanced power management (APM), a Battery Meter icon may be displayed on the taskbar.
0
 

Author Comment

by:submissiontechnology
ID: 20395088
Thank you jaime_olivares, your suggestion worked perfectly.
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This tutorial demonstrates one way to create an application that runs without any Forms but still has a GUI presence via an Icon in the System Tray. The magic lies in Inheriting from the ApplicationContext Class and passing that to Application.Ru…
Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question