Results 1 to 3 of 3

Thread: Put icon on statusbar panel

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Nov 2003
    Posts
    784

    Put icon on statusbar panel

    Dear The Expert,

    How to put icon on statusbar panel.. I run below code but it does not work (returned error)

    Dim statusBar1 As New StatusBar
    Dim panel1 As New StatusBarPanel

    ' Display the first panel with a sunken border style.
    panel1.BorderStyle = StatusBarPanelBorderStyle.Sunken
    panel1.Icon="user.ico"

    I am sure that I missed something there, but I'm very new with this .. I need advice .. thank

    Regards

    Winanjaya

  2. #2
    Member
    Join Date
    Aug 2003
    Posts
    51
    StatusBarPanel1.Icon = New Icon(System.Windows.Forms.Application.StartupPath & "\GRAPH16.ICO")

    Goodluck

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Nov 2003
    Posts
    784

    RESOLVED!

    THANKS ..

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