Results 1 to 2 of 2

Thread: ImageList Picture to TrayIcon IconPicture

  1. #1

    Thread Starter
    Addicted Member Nigh™a®e's Avatar
    Join Date
    Feb 2002
    Location
    Belgium
    Posts
    175

    ImageList Picture to TrayIcon IconPicture

    Hi,

    I made a small tool using a Tray Icon.
    Now i want to change the icon, using icons loaded into a ImageList Control.

    How can i convert the pictures to Icons.

    The only way i found to change the icon is:
    Private _IconActive As System.Drawing.Icon = New System.Drawing.Icon(Application.StartupPath & "\Active.ico")

    This way i have to copy the icons into my Bin folder.
    An other way i try is using the RESX files.
    There i have the problem, i can't find a good recourse editor to add the needed icons to the resource file.

    Other sollutions are also welcome

  2. #2
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    Here is how to convert an image in an imagelist to an icon:
    http://www.vbforums.com/showthread.p...ght=Icon+Image

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