> Hello, friends,
>
> I need to use IPersistStream, IStream, IPicture, etc. in my VB6.0 app. Any
> one knows which components I should add reference to?
You'll most likely have to obtain a type library that exposes those
interfaces in the VB IDE. Try Eduardo Morcollo's web site:
http://www.mvps.org/emorcillo/en/code/vb6/index.shtml
His OLELIB.TLB exposes the IPersistStream and IStream interfaces. It does
not expose the IPicture interface, though. Not sure why you'd need to use
that anyway. You should be able to just use the stdPicture object (or
perhaps IPictureDisp) that are already available in VB (via the stdole type
library).

Signature
Mike
Microsoft MVP Visual Basic
Andrew - 12 Dec 2005 15:44 GMT
> Not sure why you'd need to use
> that anyway. You should be able to just use the stdPicture object (or
> perhaps IPictureDisp) that are already available in VB (via the stdole type
> library).
I am trying to display images, such as .jpg, (in VB6) which have been loaded
into memory and, probably, have been processed based on certain rules. I
googled different solutions and wanted to try them one by one.
Do you have any ideas that which method is better? (I saw someone used
stdPicture, someone used IPicture.)
Thanks a lot...