Posted: Fri Jan 06, 2012 7:04 am Post subject: C# Codedom & Resources?
I cant seem to access embedded resources. I can add them ok and can check that using reflector. But for the life of me, i cant access them.
I know how to use embedded resources normally but everything i try with codedom, doesnt seem to work.
I googled around for answers but cant find anything that works.
Im trying to use bitmaps and icons.
Anyone have an ideas i can try?
Thanks i'll give them a go.
Im not doing anything special with it.
Im making a trainer maker. Up to now everything is working good.
I never used resources for my icon and form backimage. My idea was to store them as a string. When i save the project and want to load it up on a different pc, all i need is that text file. All the information is in the text file.
Either way im gonna need to do the same for bitmaps for the controls but i thought i could try something with resources.
So when the codedom app is generated, it converts the string back to the image. It works perfect thus far and its fast. Maybe i could just make a function to check if the bitmap has already been added and make my own type of resource handler.
My app has this already, it'l just need some additional code. _________________
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum