As it turned out the code was never even reached. So I made an instance of the class that should generate a bmp file in the Page_Load handler of my enter.aspx. Now it did run, but now I get the message: Response.ContentType = "image/bmp"; not available in this context...! Which is the ProduceImageFile.cs (a class file)I checked all using statements, and I think I got all the ones I need. When you type R you get Response and then you type '.' and C and get Response.ContentType, so I feel this should be available, but for some reason I get an exception that my application cannot handle the Response.ContextType = "image/bmp"; statement. Could anybody tell me how to fix this? It is kind of frustrating to have to spend days on simple things that don't want to work, simply because all those online help files only address the hard issues. I tried these concepts in small projects and got them to run properly, then I tried to encorporate them in a larger application and again it refuses to function! Ranger. Novice.