Can we add Resources at runtime?
Normally we are adding resource in resx file by clicking on image in that file and then add the images.
Now my problem is to add this image during application's running state.
After i run my application I'm following Few Step as follows:
Step 1 : Take images from google images.
Step 2 : Store them somewhere in the machine or in my Application's Statup path.
Here in step 2 I want these all images to be placed/Store/Copied in Resources.resx file, so I'll have to add them programatically.
Or I can also change that image's property Build Action = Embedded Resources.at run time programatically.
Reply.
Normally we are adding resource in resx file by clicking on image in that file and then add the images.
Now my problem is to add this image during application's running state.
After i run my application I'm following Few Step as follows:
Step 1 : Take images from google images.
Step 2 : Store them somewhere in the machine or in my Application's Statup path.
Here in step 2 I want these all images to be placed/Store/Copied in Resources.resx file, so I'll have to add them programatically.
Or I can also change that image's property Build Action = Embedded Resources.at run time programatically.
Reply.