I don't know if it's easy but in this forum there is an howto to retrieve typerlibGuid from registry:
You can use the following code to get the TypeLib GUID from a file
// Copyright Albin Sunnanbo
// This code is public domain and free to use without any resitrictions, including commercial use.
public class GetComGuid
[DllImport("oleaut32", CharSet = CharSet.Unicode)]
private extern static void LoadTypeLib(string dllFilePath, out ITypeLib typeLibrary);
/// Returns the TypeLib Guid for the typelib in the file fileName
/// <param name="fileName">The dll, ocx, tlb or other file containing a TypeLib</param>
public static Guid GetGuid(string fileName)
Guid guidIUnknown = Guid.Empty;
LoadTypeLib(fileName, out typeLibrary);
var typeLibAtt = (System.Runtime.InteropServices.ComTypes.TYPELIBATTR)
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.