Form Icon Problem

Posted on 2007-07-31
Last Modified: 2010-04-23
I created an icon in Visual Studio 2005 and the icon is present in my project. When I set this icon to be used in Application tab under Project Properties, it works just fine. But when I use the same icon to set a form's icon, it displays an icon similar to the notepad icon which I don't even have in my project. For the icon properties, I tried setting the Build Action to all options and I am still having the same problem. Am I  missing something? Thanks.
Question by:sandya_116

    Accepted Solution

    If you open up your Form1.resx (or whatever your form file is named) and select icons from the first dropdown, do you see your icon there?
    LVL 15

    Assisted Solution

    Try renaming the icon other name...

    Author Comment

    My Icon is in there. But it is named $this.Icon which is not the name of my icon.

    Author Comment

    I tried renaming the icon. It did not work.

    Author Comment

    I found the answer in this website:

    Thanks for atleast answering me.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Training Course: Java/J2EE and SOA

    This course will cover both core and advanced Java concepts like Database connectivity, Threads, Exception Handling, Collections, JSP, Servlets, XMLHandling, and more. You'll also learn various Java frameworks like Hibernate and Spring.

    I'm currently working for a company where I have to upgrade over 50 VB6 programs to VB.NET 2008.  So far I'm about half way through, and I've learned quite a few tricks that drastically improve the performance of VB.NET apps. Because there are a…
    Article by: Kraeven
    Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    9 Experts available now in Live!

    Get 1:1 Help Now