Quantcast
Viewing all articles
Browse latest Browse all 8695

Re: Changing dynamically the Picture in a PictureButton control

Change the machine path so that your images directory is in it (you can edit environment variables, path, and add your images folders to it). Then strip the path from the image names on the picture buttons, and remove the path info from the pbr.

 

Compiling with a pbr that points to the image file will also work, as long as the path in the exe matches the path in the pbr, it will find the image and display it.


Viewing all articles
Browse latest Browse all 8695

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>