Solved

Task Tray Icon

Posted on 1998-12-14
3
219 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
ID: 1450122
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
ID: 1450123
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
ID: 1450124
perfect! Just what I needed.

Thanks!
GWalters
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

803 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