Results 1 to 2 of 2

Thread: Load forms icon from resources.

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2003
    Posts
    830

    Load forms icon from resources.

    I have a folder in my project called Resources. It contains a ico image (myIcon.ico). How to I call to this resource to load image to my main forms icon?

    Thanks!

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Load forms icon from resources.

    Is this really a resource? Is it compiled into your executable file? Are you using VS 2005? Did you add it to the Resources tab of the project properties or set the files Build Action to Embedded Resource?

    Please always specify your version when posting.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

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