D.9 Type Library Exporter (tlbexp.exe)

Type library exporter and importer are the two tools necessary for COM interop. The exporter generates a type library for a .NET Framework assembly so that other COM components can interop with .NET components. The general syntax for tlbexp.exe is:

tlbexp AssemblyName [options]

Table D-9 shows some of the common uses of tlbexp.exe.

Table D-9. Type Library Exporter common uses




This option suppresses the logo of the tlbexp executable.


filename is the name of the type library file.


This option suppresses all messages from the tlbexp executable.


This option displays extra information while converting the component.

/? or /help

This option displays the help information for the tool.