Hi All,
I made a desktop application in which it takes background image from folder. I copy my project bin folder into another machine. When I click exe file from the folder it takes image from project folder.
When I copy exe file on the desktop, It is not taking images anymore? Am I missing relative path?
Thanks,
Darma
Loading

Jaganathan BantheswaranRank #170 · 14.1K reputationPosted Oct 28, 2014, 4:12 AM EDT
Steps:
In the Solution Explorer window in Visual Studio, click on the file you want to embed.
In the Properties windows, change the Build Action to Embedded Resource.
Sibeesh VenuRank #27 · 42.9K reputationPosted Oct 28, 2014, 2:58 AM EDT
Sibeesh VenuRank #27 · 42.9K reputationPosted Oct 28, 2014, 3:03 AM EDT
It may help you :)
Rajendra TripathyRank #1,822 · 814 reputationPosted Oct 28, 2014, 3:13 AM EDT
It would be good if you explain what control are you using. Where the background image is displayed? What kind (format) of image you want to show?
If you could add some source code you are trying to make it work, it would be even better.
darma tejaRank #3,199 · 449 reputationPosted Oct 28, 2014, 3:27 AM EDT
These images are displaying when I click exe file from the folder. I copied the same exe on my desktop and it is not displaying images on my form.
Thanks,
Darma
darma tejaRank #3,199 · 449 reputationPosted Oct 28, 2014, 5:38 AM EDT
Gowtham RajamanickamRank #57 · 29K reputationPosted Apr 7, 2015, 2:19 AM EDT