Results 1 to 5 of 5

Thread: [RESOLVED] Why are my Form1 icons not showing ?

  1. #1

    Thread Starter
    PowerPoster Poppa Mintin's Avatar
    Join Date
    Mar 2009
    Location
    Bottesford, North Lincolnshire, England.
    Posts
    2,423

    Resolved [RESOLVED] Why are my Form1 icons not showing ?

    Hi,

    What am I doing wrong now ? Or have I just forgotten something?

    I'm sure I used to just select an icon for my Form1 by adding one to the Form1 Properties. (where it says Icon)

    Then when I found the .exe file in the directory it had the icon displayed, and likewise on the desktop shortcut, now I just get the same, rather bland icon of what seems to be a representation of maybe a laptop screen for everything.

    I've tried putting it in resources but that's not helping. I'm using exactly the same icons in this Windows 10 machine as I used in the Windows 7 one, but the difference is that they worked in the Win.7 one. I'm using the same VS2013 on both machines.

    I've tried clicking the shortcut and selecting 'Properties' and then 'Change Icon', I thought that clicking 'Select Icon' would give me the option to select the application's icon but the only one on offer is the one that already displayed.


    Poppa.
    Along with the sunshine there has to be a little rain sometime.

  2. #2
    VB For Fun Edgemeal's Avatar
    Join Date
    Sep 2006
    Location
    WindowFromPoint
    Posts
    4,255

    Re: Why are my Form1 icons not showing ?

    To set icon for exe, I add icon to resources, then > Project Properties > Application(tab) > Icon
    Attachment 139501

  3. #3
    Hyperactive Member Vexslasher's Avatar
    Join Date
    Feb 2010
    Posts
    429

    Re: Why are my Form1 icons not showing ?

    Try reloading the folder holding the .exe it might be displaying a cached icon/thumbnail if so this would fix it.

  4. #4
    Frenzied Member Gruff's Avatar
    Join Date
    Jan 2014
    Location
    Scappoose Oregon USA
    Posts
    1,293

    Re: Why are my Form1 icons not showing ?

    Form icons and the exe icon are set separately so they do not have to be the same. If you want them to be the same then you have to set them in the form and in the Project Properties as the same icon. (Per Edgemeal.)
    Burn the land and boil the sea
    You can't take the sky from me


    ~T

  5. #5

    Thread Starter
    PowerPoster Poppa Mintin's Avatar
    Join Date
    Mar 2009
    Location
    Bottesford, North Lincolnshire, England.
    Posts
    2,423

    Re: Why are my Form1 icons not showing ?

    Quote Originally Posted by Edgemeal View Post
    To set icon for exe, I add icon to resources, then > Project Properties > Application(tab) > Icon
    Attachment 139501
    Thanks Edgemeal, I'd forgotten the Application bit...

    Trouble with old dogs, can't even remember 'Old Tricks' !

    Poppa.
    Along with the sunshine there has to be a little rain sometime.

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