Results 1 to 3 of 3

Thread: Icon Tray !

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jun 2000
    Posts
    92

    Icon Tray !

    Hi !

    Does anyone know how i can place my application (VB) in the icon tray ?

  2. #2
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    Use the NotifyIcon control in the toolbox.

  3. #3
    Frenzied Member
    Join Date
    Oct 2002
    Location
    Gammapolis
    Posts
    1,474
    something like this:

    Sub Showintray()

    ' Hide the form
    Me.Hide()

    ' set properties for the icon
    NotifyIcon1.Icon = New System.Drawing.Icon("balbal.ico") ' icon file name, u can set it in design time too
    NotifyIcon1.Text = "balbalbal"
    NotifyIcon1.Visible = True

    End Sub
    Public Sub NotifyIcon1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles NotifyIcon1.DoubleClick
    ' Make icon invisible & show form
    NotifyIcon1.Visible = False
    Me.Show()
    End Sub

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width