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 BantheswaranPosted Oct 28, 2014, 8:12 AM
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.
Gowtham RajamanickamPosted Apr 7, 2015, 6:19 AM
darma tejaPosted Oct 28, 2014, 9:38 AM
darma tejaPosted Oct 28, 2014, 7:27 AM
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
Rajendra TripathyPosted Oct 28, 2014, 7:13 AM
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.
Sibeesh VenuPosted Oct 28, 2014, 7:03 AM
It may help you :)
Sibeesh VenuPosted Oct 28, 2014, 6:58 AM