Home arrow VB.Net arrow Page 4 - Simple VB.NET Notify Icon with Panel Application

Simple VB.NET Notify Icon with Panel Application

Vikrant's article steps you through the process of building your own Notify Icon application, allowing you to run applications from the task tray, using VB.NET.

Author Info:
By: R. Abhiram Vikrant
Rating: 4 stars4 stars4 stars4 stars4 stars / 130
October 05, 2003
  1. · Simple VB.NET Notify Icon with Panel Application
  2. · Notify What?
  3. · The Application
  4. · Context Menu
  5. · Let's Get Cookin'!
  6. · The Code

print this article

Simple VB.NET Notify Icon with Panel Application - Context Menu
(Page 4 of 6 )

Next, drag the Context menu from the tool box to the form.  Again, this control will be displayed on the component tray.  The default name for this control is ContextMenu1; change this name to cmn for ease of use in coding.  Select the context menu and you will see the context menu item at the top most corner of your Form.

Select the Menu and press enter.  A menu will pop out as in the figure below:

Type &Exit, press enter.

In the next Menu Item

  • Type Panel&1 (shortcut key: Alt +1)
  • Type Panel&2 (shortcut key: Alt +2)

Select the Panel1 context menu item and change its name to pan1 (for ease of use).Do the same for Panel2.

We are now done with the context Menu.  Next, we have to link the context menu with the Notify Icon.  To do this, select the Notify Icon; in its property menu, click the drop-down box of Context Menu.  You will be provided with the name of the context menu you’ve just created.  Select it and the design part is over.

blog comments powered by Disqus

- MyClass - Implementing Polymorphism in VB.Net
- Building a News Ticker Using VB.Net
- Everything You Wanted to Know About Forms In...
- Building Assemblies with VB.Net
- Simple VB.NET Notify Icon with Panel Applica...
- Regular Expressions in .NET
- String Encryption With Visual Basic .NET
- Deploying Applications in VB.NET: Part 1/2
- Watching Folder Activity in VB.NET
- Creating A Windows Service in VB.NET
- Implementing The Google Web Service In VB.NET
- Migrating to Visual Basic.NET from Visual Ba...

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 

Developer Shed Affiliates


© 2003-2019 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials