Application Icon Setting in project

T

Ty

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 and all is good.

My app starts with windows and 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,

Ty
 
T

Ty

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.

Ty
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top