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. C#
  4. Program Icons?

Program Icons?

Scheduled Pinned Locked Moved C#
questioncomhelp
2 Posts 2 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.
  • D Offline
    D Offline
    Domenic Denicola
    wrote on last edited by
    #1

    This must be the dumbest question ever, but how can I set my program's icon (i.e., the one in Windows Explorer)? I have already tried this.Icon = ... in my main form class, and that only sets the icon of the actual form. I know this must be REALLY simple, but I've searched all the docs many times. Help??

    -Domenic Denicola- [CPUA 0x1337] MadHamster Creations "I was born human. But this was an accident of fate - a condition merely of time and place. I believe it's something we have the power to change..."

    A 1 Reply Last reply
    0
    • D Domenic Denicola

      This must be the dumbest question ever, but how can I set my program's icon (i.e., the one in Windows Explorer)? I have already tried this.Icon = ... in my main form class, and that only sets the icon of the actual form. I know this must be REALLY simple, but I've searched all the docs many times. Help??

      -Domenic Denicola- [CPUA 0x1337] MadHamster Creations "I was born human. But this was an accident of fate - a condition merely of time and place. I believe it's something we have the power to change..."

      A Offline
      A Offline
      AndyG
      wrote on last edited by
      #2

      There's a few ways. 1. Right click your project in the Solution Explorer and click on Properties and in the properties pages you can set the project icon. 2. Edit the ProjectName.csproj file... the ApplicationIcon entry should be about 10 lines down. 3. The /win32icon: command line switch for the C# compiler. Andy Gaskell, MCSD MCDBA

      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