VBStrm Type Library (STRM.TLB)

The VBStrm Type Library provides access through VB to COM's IPersist, IPersistStream and IStream interfaces. You can use this library to work with OLE Compound document files as well as (for example) creating COM objects like IPicture from directly from data in memory.

The following interfaces are exposed:

  • IPersistStream
  • IPersist
  • IStream

In addition the library provides the STATFLAG, STGC, STGM, STGTY and STREAM_SEEK enumerations you need to use the interface, the STATSTG structure and a handful of API declares routinely required for implementing the interfaces.

To see the Type Library in use, check out Eduardo's excellent VB site (my all-time top rated VB site:)

Edanmo's VB Page