Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / COM / December 2005



Tip: Looking for answers? Try searching our database.

Which ones to reference to?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Andrew - 11 Dec 2005 18:50 GMT
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?

Thanks a lot.
MikeD - 12 Dec 2005 00:38 GMT
> 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...
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.