Error Reading Icon
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring error generating win32 resource error reading icon developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask
C# Error Reading Icon
Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join
Visual Studio Error Reading Icon
them; it only takes a minute: Sign up Adding Icon to Short cut in setup up vote 1 down vote favorite I'm trying to get icons to show up on the Shortcuts i create in my set up application.
Books Icon
I have two shortcuts one for the start menu and desktop. The icon shows up fine in the program files but then that's the direct output of the application. The other two are shortcuts. They are still showing the default shortcut icon. I found this and it didn't work. When i do it there is no icon displayed. So i cant select OK Setting correct icon for Shortcut in VS2010 Setup Project Then i found this link How to writing icon change windows Applicatoin's default icon in Setup Project Right click on you windows application project, select properties. In the properties window, select the application tab. In the application tab, there is a radio button saying Icon and manifest. Select that and browse and select your custom icon for the application in the Icon drop down menu. When i try and do that. i get an error: Error 8 Error generating Win32 resource: Error reading icon 'C:\Users\
for Help Receive Real-Time Help Create a Freelance Project Hire for a Full Time Job Ways to Get Help Ask a Question Ask for math icon Help Receive Real-Time Help Create a Freelance Project Hire for a error building win32 resources -- icon stream is not in the expected format. Full Time Job Ways to Get Help Expand Search Submit Close Search Login Join Today Products error generating win32 resource access is denied BackProducts Gigs Live Careers Vendor Services Groups Website Testing Store Headlines Experts Exchange > Questions > Suddenly my vb.net application is not compiling with Icon error Want http://stackoverflow.com/questions/20284772/adding-icon-to-short-cut-in-setup to Advertise Here? Solved Suddenly my vb.net application is not compiling with Icon error Posted on 2006-07-18 Visual Basic.NET 1 Verified Solution 7 Comments 2,083 Views Last Modified: 2012-05-05 My my application is not even compiling with following error. Error creating ALink Win32 resources: Error reading icon 'C:\Documents and Settings\Administrator\Application Data\Microsoft\VisualStudio\7.1\VSProjectApplication.ico' -- The system cannot https://www.experts-exchange.com/questions/21923318/Suddenly-my-vb-net-application-is-not-compiling-with-Icon-error.html find the file specified. Actually my application using another Icon not VSProjectApplication.ico I tried to change the Icon in Project Properties, but still problem persist. Any Idea? I am using VS 2003 0 Question by:Mamtha1982 Facebook Twitter LinkedIn Google LVL 23 Best Solution byapresto i.e Right click project file >> Properties >> Application Icon Go to Solution 7 Comments LVL 23 Overall: Level 23 Visual Basic.NET 5 Message Expert Comment by:apresto2006-07-18 Hi Mamtha1982, how did you go about changing the icon link, did you do it via Visual Studio? Apresto 0 LVL 23 Overall: Level 23 Visual Basic.NET 5 Message Accepted Solution by:apresto2006-07-18 i.e Right click project file >> Properties >> Application Icon 0 LVL 12 Overall: Level 12 Visual Basic.NET 10 Message Author Comment by:Mamtha19822006-07-18 Yes, I did the same 0 LVL 23 Overall: Level 23 Visual Basic.NET 5 Message Expert Comment by:apresto2006-07-18 ok, open your project file in notepad and do a search for VSProjectApplicatio
Oct 27, 2004. ~~~ .NET Ed ~~~ Guest this seems like a bug to me. I use VS.NET 2003 with the framework v1.1. I had a project that grouped all the common forms I would use in other solutions. There are icons http://www.pcreview.co.uk/threads/error-generating-win32-resource-bug-in-vs-net-2003.1322332/ associated with these forms. This week I had to reorganize my development tree, things got moved http://www.xtremevbtalk.com/-net-general/280735-error-setting-icon-project.html around by prune & graft. It appears that for *some* icons the IDE uses a relative path rather than an absolute path. When I compile my common-forms project it fails with the following message: "Error generating Win32 resource: Error reading icon 'E:\develop\lib\icons\relationtree.ico'-- The system cannot find the path specified." I looked at all the forms and don't see the missing icon. I remember one of error reading them used that icon, but now that the tree has been moved all the forms display fine in design mode but does not build the project due to that problem. I went around removing adding the Form icons of the various forms because I think that's where I used it. The problem still persists. The other icons in the form display fine and are not missing so I must be one of the Form level icons. What I find annoying is: error reading icon a) The IDE throws the error but does not give the slightest clue as to WHICH file uses the offending icon! b) That it somehow remembers the "relative path" and filename of the icon but does not appear to have that information ANYWHERE in the project directory! I did a search on ALL the files (Find in files, *.*) for the base name of the icon (relationtree and just that) and it cannot find it anywhere. So now I am stumped, can't compile my project, don't know where on earth this stubborn IDE is getting the path and name of the icon. Any help? this is certainly a bug, I wish it was just at least a bit friendlier in the message, it sounds like "There is a dead person in the city" yeah right, how helpful is that? I don't really feel like deleting the forms one by one and recreating them all over again. ~~~ .NET Ed ~~~, Oct 27, 2004 #1 Advertisements Herfried K. Wagner [MVP] Guest "~~~ .NET Ed ~~~" <> schrieb: > When I compile my common-forms project it fails with the > following message: > > "Error generating Win32 resource: Error reading icon > 'E:\develop\lib\icons\relationtree.ico'-- The system cannot find the path > specified." > [...] > b) That it somehow remembers the "relative path" and > filename of the icon but does not appear to have that information > ANYWHERE in the project
Express editions) > .NET General > Error in Setting an Icon to My Project Thread Tools Display Modes #1 03-08-2007, 03:12 PM cgi_pro Regular Join Date: Dec 2006 Posts: 74 Error in Setting an Icon to My Project Hello I right-clicked on the project name of mine and set the icon in the common property to some (MyIcon.ico) that resides somewhere on my PC. When I ran the application, I got the following error message: Error creating ALink Win32 resources: Error reading icon 'C:\[PATH TO MY ICON IMAGE]\myicon.ico' -- The data is invalid. I discovered that I need to have my icon in the same directory of my project. If this is the case that will solve my problem then it's not how I want it, because this application I'm building needs to have ONLY its executable file distributed to my application users. So how can I let this icon be part of the compiled executable file? cgi_pro View Public Profile Find all posts by cgi_pro #2 03-08-2007, 04:09 PM Eduardo Lorenzo Senior Contributor Join Date: Jun 2006 Location: Manila, Philippines Posts: 846 well the Icon should be embedded within the exe file at creation so there really is nothing you can do about it. and you will still be sending out ONLY the exe file. __________________ Pinoy ako.. ipinagmamalaki ko. Eduardo Lorenzo View Public Profile Find all posts by Eduardo Lorenzo #3 03-09-2007, 12:32 AM cgi_pro Regular Join Date: Dec 2006 Posts: 74 That what I actually want. I want the icon to be embedded within the exe file so that when I give the application (the exe file) to the user, I don't have to give him the icon file along with it in irder for the icon to show with the application. My problem once again is this: I have an icon image (*.ico file) inside the folder of my project. I want to set this icon to be my project icon. So what I have to do is o right-click on my project name (within my Solution Explorer Window) and go to properties. In properties dialog box I go to (Common Properties -> Build -> Application Icon) to set that icon to my application. Finally when I compile, I receive the following error message: Error creating ALink Win32 resources: Error reading icon 'C:\[SOME_PATH]\myicon.ico' -- The data is invalid. What's wrong in my steps in setting this application icon? cgi_pro View Public Profile Find all posts by cgi_pro #4 03-09-2007, 12:40 AM Eduardo Lorenzo Senior Contri