Icon "Lock Out" Mystery
-
Hello, I just completed a C# application (VS 2008) and was attempting to put an icon in the bar when I got an unusual error message. It states that the Icon argument will only accept a picture as an icon, even though the menu is calling for an .ico file. I have tried a few different files just to be sure, but all derive the same message. There is a default icon already loaded and I need to replace it. Although this is just a click and install item, I am baffled (and almost embarrassed) as to why I am getting this message and I am unable to load a file. Please tell me what I have missed....?? Thank you, Pat
-
Hello, I just completed a C# application (VS 2008) and was attempting to put an icon in the bar when I got an unusual error message. It states that the Icon argument will only accept a picture as an icon, even though the menu is calling for an .ico file. I have tried a few different files just to be sure, but all derive the same message. There is a default icon already loaded and I need to replace it. Although this is just a click and install item, I am baffled (and almost embarrassed) as to why I am getting this message and I am unable to load a file. Please tell me what I have missed....?? Thank you, Pat
-
Thank you Martin, Not sure how that could have happened, but you are exactly correct. Apparently, the file was marked as an Icon but the application did not recognize it as one. I appreciate your help and have marked your answer as the correct solution. Best regards, Pat