Re: Issue with resource file
Quote:
Originally Posted by laby
....Could not find any resources appropriate for the specified culture or the neutral culture. Make sure "D:\my projects\Mike\11May\UltraCabUtilityProgram\Redist\Images.resources" ...
I'm nearly sure your path you get by your code is totally other then that one your images are. Use the debugger and look what your application path really is. Mostly it ends with something '\bin\release' But normally if you are not really using satellite files you dont need to use a path to your pictures.
But you need the namespace !
For more about this look into part 1 of my Dockable Panels where i give a full explanation of how to use the ResourceManager The link is in the bottom of my post.
But if you want to use a path then use
Code:
ResourceManager resourceMngr = ResourceManager.CreateFileBasedResourceManager(_resource , path, null);
The params in this code are explained in Part#1 of my articles