Joe,
Add a reference to Microsoft.VisualBasic.Compatability.dll (it's in the
framework directory, shipped standard). Once you have that, use the static
ImageToIPicture or ImageToIPictureDisp methods on the Support class in the
Microsoft.VisualBasic.Compatability.VB6 namespace.
Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Joe" <J_no_spam@_no_spam_Fishinbrain.com> wrote in message
news:%2****************@TK2MSFTNGP15.phx.gbl...
I was looking at the StdPictureClass to see if it could be useful but I
can't seem to find any documentation on it.
The image is drawn dynamically therefore I cannot use OleLoadPictureFile
API.
Thanks,
Joe