Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Putting .ico files on buttons

Putting .ico files on buttons

Scheduled Pinned Locked Moved Visual Basic
question
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    Benny_Lava
    wrote on last edited by
    #1

    Hi, As the title says? How? I tried with button.image = image.fromfile(image.ico) ... doesn't work thanks

    E P S 3 Replies Last reply
    0
    • B Benny_Lava

      Hi, As the title says? How? I tried with button.image = image.fromfile(image.ico) ... doesn't work thanks

      E Offline
      E Offline
      eyes2007
      wrote on last edited by
      #2

      try add the icon files to the application resources then button.image = my.resource.iconfilename

      help everyone Falling down is not defeat...defeat is when u refuse to get up...

      1 Reply Last reply
      0
      • B Benny_Lava

        Hi, As the title says? How? I tried with button.image = image.fromfile(image.ico) ... doesn't work thanks

        P Offline
        P Offline
        Paul Conrad
        wrote on last edited by
        #3

        unix_master01 wrote:

        doesn't work

        What is not working? You have to describe better than that. No image? Exception? What?

        "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon

        1 Reply Last reply
        0
        • B Benny_Lava

          Hi, As the title says? How? I tried with button.image = image.fromfile(image.ico) ... doesn't work thanks

          S Offline
          S Offline
          Sun Rays
          wrote on last edited by
          #4

          Hi, you can take Imagebutton and give imageURL = "your ico file" :) simple

          Thanks, Sun Rays To get something you must have to try once. My Articles

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups