Hello Ian You wrote:
>Note that this Bitmap constructor will actually prepend the namespace of >whatever Type you pass in. So if this code is in a class that is in some >namespace other than the project namespace, that could be messing you up. >Make sure that you pass in a Type object for a type in the project's default >namespace. (And it must also be defined in the assembly that contains the >resource - the Type object you pass in serves two roles: naming and assembly >specification.) aha! this was it! Since the bitmap constructor prepends the namespace of the type we're passing, I just had to re-introduce the project namespace (which is equal to the namespace I'm using on the files) and leave the instruction as it was: Bitmap aux = new Bitmap( GetType(), "Bitmap1.bmp" ); well, let me finish by thanking you (again). Regards, Luis Abreu http://www.luisabreu.go.cc/ mailto:[EMAIL PROTECTED] --------------------------------------------- "Those who give up never win, and those who win never give up!", Luis Abreu --------------------------------------------- You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.