Hi Valery, Yea, I'd tried that. It looks like the IPicture.Handle returns a valid value, but when I try to pass it to Image.FromHBitmap I get the Exception: "A generic error occured in GDI+"
-Alex On Tue, 30 Apr 2002 13:12:22 +0200, Valery Pryamikov <[EMAIL PROTECTED]> wrote: >How about using Image.FromHBitmap method? >If I recall it correctly IPicture has Handle property (get_Handle). > >-Valery. > >-----Original Message----- >From: Alex Yakhnin [mailto:[EMAIL PROTECTED]] >Sent: Tuesday, April 30, 2002 1:09 PM >To: [EMAIL PROTECTED] >Subject: Re: [DOTNET] How-to convert StdPicture to .NET Image? > >In fact I am getting an IPicture. So, any takers on that? > >Thanks... Alex > > >On Mon, 29 Apr 2002 15:50:17 -0700, Alex Yakhnin ><[EMAIL PROTECTED]> wrote: > >>Hi All, >> >>I get a StdPicture returned through Interop. How can I convert it a >valid >>Image object? >> >>Thanks... Alex >> >>You can read messages from the DOTNET archive, unsubscribe from DOTNET, >or >>subscribe to other DevelopMentor lists at http://discuss.develop.com. > >You can read messages from the DOTNET archive, unsubscribe from DOTNET, >or >subscribe to other DevelopMentor lists at http://discuss.develop.com. > >You can read messages from the DOTNET archive, unsubscribe from DOTNET, or >subscribe to other DevelopMentor lists at http://discuss.develop.com. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.
