Answered Application Icon Setting in project

TyB

Well-known member
Joined
May 14, 2009
Messages
102
Programming Experience
3-5
Hello,
I have a icon for my application that I set in the project properties
window there is a little drop down box to browse to the icon location.

While debugging everything is good. Once I build the app and place it
on a PC and manually start the app all is good.


My app starts with windows and now every time the program goes to
start I get an error that the icon cannot be found in the
DocumentandSetting\USERNAME folder.


So the question is do I have to place my app icon in this folder? or
am I doing something wrong. In design I have the icon in the bin\Debug
folder and that is were I point to in the Project properties page.


I am using VS 2008 VB.net.


Thanks,


TyB
 
Last edited:
Got it

I found the answer. Simply add the file to your project then select it in the solution explorer and look at the properties below and you will see "Build Action" click in there and select "Embedded Resource" in the drop down box and the file will be embedded into the app.

TyB
 
Back
Top