Solved

Task Tray Icon

Posted on 1998-12-14
3
215 Views
Last Modified: 2010-05-03
I want to place and icon in the task tray while my app is running and use the click, doubleclick, and mouseover events to invoke procedures in my app. Does anyone know how this can be done? Any code would be appreciated.
0
Comment
Question by:gwaltersii
3 Comments
 
LVL 1

Expert Comment

by:Shyam121498
Comment Utility
Some ActiveX controls are available at activex.com.  I have used a control by name "ActiveX System Tray Icon v1.1".
Or

Use API function "Shell_NotifyIcon".  The problem in VB is that this function uses a structure NOTIFYICON.  If u can work out with this structure use this function.  Else creare a OCX control in VC++, using this function.
0
 
LVL 2

Accepted Solution

by:
dm_14 earned 100 total points
Comment Utility
goto this site :
http://www.mvps.org/vbnet/code/shell/shellnotifybasic.htm

It has an excellent explanation and well commented code.
0
 

Author Comment

by:gwaltersii
Comment Utility
perfect! Just what I needed.

Thanks!
GWalters
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

771 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now