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. How to Apply Icons to an Application

How to Apply Icons to an Application

Scheduled Pinned Locked Moved Visual Basic
csharptutorialquestion
8 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.
  • V Offline
    V Offline
    vister72
    wrote on last edited by
    #1

    Hello , I'm using VB.NET 7.0 and would like to apply a customized icon to a small application. I was able to apply the icon to the main form, however, I would like to apply it to the application when the user installs it on their computer. Currently, the user sees the default white window when viewing from Windows Explorer. Could someone please direct me to the proper area for this? Thanks so much! Vi

    D 1 Reply Last reply
    0
    • V vister72

      Hello , I'm using VB.NET 7.0 and would like to apply a customized icon to a small application. I was able to apply the icon to the main form, however, I would like to apply it to the application when the user installs it on their computer. Currently, the user sees the default white window when viewing from Windows Explorer. Could someone please direct me to the proper area for this? Thanks so much! Vi

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      Simple. Open your project, and go to the Project menu. Click on Properties at the bottom of the menu. In the left navigation pane click on Build, and you should see on the right 'Application Icon'. Click on the '...' button and you can pick an icon file to use or you can select from the drop down list an icon file that you already have as part of your project. Click OK and rebuild your project and your done! RageInTheMachine9532

      V 2 Replies Last reply
      0
      • D Dave Kreskowiak

        Simple. Open your project, and go to the Project menu. Click on Properties at the bottom of the menu. In the left navigation pane click on Build, and you should see on the right 'Application Icon'. Click on the '...' button and you can pick an icon file to use or you can select from the drop down list an icon file that you already have as part of your project. Click OK and rebuild your project and your done! RageInTheMachine9532

        V Offline
        V Offline
        vister72
        wrote on last edited by
        #3

        Thanks so much Dave. Your instructions were extremely clear. I found it right away. Vi

        1 Reply Last reply
        0
        • D Dave Kreskowiak

          Simple. Open your project, and go to the Project menu. Click on Properties at the bottom of the menu. In the left navigation pane click on Build, and you should see on the right 'Application Icon'. Click on the '...' button and you can pick an icon file to use or you can select from the drop down list an icon file that you already have as part of your project. Click OK and rebuild your project and your done! RageInTheMachine9532

          V Offline
          V Offline
          vister72
          wrote on last edited by
          #4

          Hi Dave, I tried exactly as you had instructed and saw the the icon file as added to my project. However, after building the solution and running the setup on my Win 2000 machine, I'm seeing the Paper icon instead (looks like the default). Is there another step or setting to go through? Vi

          D S 2 Replies Last reply
          0
          • V vister72

            Hi Dave, I tried exactly as you had instructed and saw the the icon file as added to my project. However, after building the solution and running the setup on my Win 2000 machine, I'm seeing the Paper icon instead (looks like the default). Is there another step or setting to go through? Vi

            D Offline
            D Offline
            Dave Kreskowiak
            wrote on last edited by
            #5

            A single icon file can store several icons in many sizes and color depths. Do you have copies of your icon in 16x16 and 32x32? It the only thing I can think of. I haven't run into he problem your having. RageInTheMachine9532

            1 Reply Last reply
            0
            • V vister72

              Hi Dave, I tried exactly as you had instructed and saw the the icon file as added to my project. However, after building the solution and running the setup on my Win 2000 machine, I'm seeing the Paper icon instead (looks like the default). Is there another step or setting to go through? Vi

              S Offline
              S Offline
              Steve Pullan
              wrote on last edited by
              #6

              Vi, Did you ever resolve this issue? I am having a similar problem (shows default application icon when switching via ALT+TAB), but have also 'done everything right' as far as specifying the app icon in the VS 2003 build properties and have 16x and 32x icons. ...Steve

              A 1 Reply Last reply
              0
              • S Steve Pullan

                Vi, Did you ever resolve this issue? I am having a similar problem (shows default application icon when switching via ALT+TAB), but have also 'done everything right' as far as specifying the app icon in the VS 2003 build properties and have 16x and 32x icons. ...Steve

                A Offline
                A Offline
                Anonymous
                wrote on last edited by
                #7

                Hi Steve, I was able to resolve this issue. I had to go into the (I forget what it's called because I don't have the program on this computer) setup of customizing the installation where you could customize the program to install on the desktop and the start menu and add the icon there. Once I did that, the icon did appear after I installed the program. I hope you're able to resolve your issue. Vi

                S 1 Reply Last reply
                0
                • A Anonymous

                  Hi Steve, I was able to resolve this issue. I had to go into the (I forget what it's called because I don't have the program on this computer) setup of customizing the installation where you could customize the program to install on the desktop and the start menu and add the icon there. Once I did that, the icon did appear after I installed the program. I hope you're able to resolve your issue. Vi

                  S Offline
                  S Offline
                  Steve Pullan
                  wrote on last edited by
                  #8

                  Vi, Yes I was able to fix it. It turned out to be the ShowInTaskBar form property which I had set to False. Changed it to True and all is now as it should be. I used the False setting because I am minimizing the form down to the task tray rather than the task bar. Obviously the Windows O/S sees that and decides not to display the application icon during an ALT+TAB operation. I can live with that and work around it programatically. Thanks for your help. ...Steve

                  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