Problems with display some raster formats in the mapcontrol

Aug 4, 2010 at 8:03 PM
i want to display some raster formats in the mapcontrol... but i have some problems: First: i got an exception called "The .NET Image Object threw the following exception : Out of memory". Why this exception occured. Secondly: I have noticed that it is create a temporary file in that folder in which file.. Are do I turn off the creation of that file??? Please anyone Help me...