VB.Net buttons don't show images during runtime?

Hi,

i am setting button's image property to an image from resource folder. the button shows the image in design view, but when i run the application then it doesn't.

I created new form in the same solution and assign image to a button, again it shows the image in design view but not at run time.

However if i create a  new solution then it is working fine.

i don't know what would be the problem. i rebuild the project, deleted the resource folder and then recreate. but no solution.
concern_supportAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

MlandaTCommented:
perhaps try these things:

- Select the image, so that you can see the properties in the [Properties] window
- Change the [Build Action] from [Resource] to [Content]
- Change the [Copy to Output Directory] from [Do Not Copy] to [Copy Always]
- Save and Build the solution
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.