Home arrow VB.Net arrow Page 3 - 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 - The Application
(Page 3 of 6 )

The application contains the following controls.  Add controls in the order as they appear below:

ControlName of the ControlValue
 Formform1 Text: System Tray icon and panel example 
 Add a Group Box  Control to hold the buttons  
GroupBox GroupBox1 Controls 
 Add buttons and linklabel to the group box 
ButtonButton1Text: Panel1
ButtonButton2Text: Panel2
Link LabelLinkLabel1Tray
 Add two panel control to the form 
 Add a Label to Panel1 
LabelLabel1Text: This is Panel1
 Add a Label to Panel2 
LabelLabel2Text: This is Panel2
 Add a context Menu to the form 
Context MenuCmn
 Menu Items are given below 
MenuItem&Exit MenuItem1 

Select Panel1 and note its size and location parameters in the property window.

Apply the same location parameters of Panel1 to the Panel2 property sheet.  By now, Panel2 is above Panel1.

Now concentrating on Notify Icon, drag the Notify Icon control displayed in Windows Forms genre, in the tool box, to the form.  Notify Icon must be on the component tray.  Select it and change its name to nfi.  Now on the Notify Icon property sheet, choose the icon parameter and associate it with your favorite icon. This is the icon that will be displayed in the system tray.

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