devxlogo

Create stand-alone type libraries

Create stand-alone type libraries

Many VB programmers assume that Visual Basic 5.0 is not capable of creating stand-alone Type Libraries, because the documentation states that when an ActiveX component or control is created, the companion Type Library is embedded in the main executable file.

This is correct, but if you own the Enterprise Edition you may create a stand-alone Type Library by selecting the “Remote Server Files” checkbox that you find in the Component tab of the Project Properties dialog box. When you then compile the component, Visual Basic will also create two additional files in the same directory as the executable file. One of these two files is the TLB you were looking for.

devx-admin

Share the Post: