Alex, >I get exception: "A generic error occurred in GDI+". >I am pretty much sure that I get a valid IPicture.
Perhaps it's not a bitmap, but some other kind of picture (e.g. an icon). See what IPicture.Type returns. If it's an icon, use Icon.FromHandle() instead. Mattias === Mattias Sjögren [EMAIL PROTECTED] You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.