Another way to do this would be add your GIF image as an "Embedded resource"
and have the file added as a "link" to the original file, in your project.
This way, whenever the file changes, your compiler should pick up the latest
one available.
But if you have it as an embedded resource, you would have to retrieve the
image at run-time and use it appropriately. The designer can only pick
resources using the Resource Manager.
-vJ
"Matthew Wieder" <De*********@SatoriGroupInc.com> wrote in message
news:uF**************@TK2MSFTNGP12.phx.gbl...
Is there a way to have this functionality occur generically, or must I
wrote ode for every image in every dialog of every application? It
would seem to be useful functionality.
thanks!
Vijaye Raji wrote: You can make a tiny C# app that will modify your resx file and make it
run during Pre-build step.
-vJ
"Matthew Wieder" <De*********@SatoriGroupInc.com> wrote in message
news:uK**************@tk2msftngp13.phx.gbl...
I have a form which contains a picturebox control which displays a gif
image. By default, the image that was selected when I designed the
dialog gets stored in the resx file and gets compiled and displayed.
How can I force the compiler to re-link to that gif file on the file
system at compile time so that I don't need to re-assign the gif file
every time a change is made to it?
thanks!