Solved

Tray

Posted on 1998-12-13
2
317 Views
Last Modified: 2010-05-03
I'm trying to get my app show in the tray and be removed from tray then I want to. If I copy code found at
http://www.vbonline.com/vb-mag/9605/ryan/default.htm
the app shows in tray, but then I end the app it doesn't vanish from tray until I point on it with the mouse.
What's wrong?
0
Comment
Question by:manne
2 Comments
 
LVL 8

Accepted Solution

by:
MikeP090797 earned 50 total points
ID: 1449789
Change the TrayIcon.uId =vbNull lines in both _Load and _Unload to a number:

TrayIcon.uID=567
0
 

Author Comment

by:manne
ID: 1449790
It doesn't help.
I'm using win98 and vb5 sp3.
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

809 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