Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

"Reading" GUID from COM DLL

Status
Not open for further replies.

knovak

Programmer
Dec 18, 2001
17
US
Every DLL compiled with VB contains a GUID which uniquely identifies that DLL. Is there a way to read this GUID directly out of the DLL (binary) file?

Thanks,

Kyle
 
Hi knovak,

this is easy!

Make a reference to "TypeLib Information" (tlbinf32.dll).

Dim tlb As TLI.TypeLibInfo

Set tlb = TLI.TypeLibInfoFromFile("MSVBVM60.DLL")
MsgBox tlb.Guid

That's all

bye
LauDse
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top