How To Create Constants and DLL Declarations in a Type Library (143258)
The information in this article applies to:
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
- Microsoft Visual Basic Standard Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Professional Edition, 16-bit, for Windows 4.0
- Microsoft Visual Basic Professional Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 16-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 32-bit, for Windows 4.0
This article was previously published under Q143258 SUMMARY
It can be very useful to package constant definitions and DLL declarations
in a type Library. Visual Basic allows you to access type libraries and
their contents. Once you have made a reference to the type library, you can
view its information in Visual Basic's own Object Browser. Type Libraries
are also superior in that you can also provide help strings along with the
declarations to always let the user know what a definition is for.
REFERENCES
OLE 2 Programmers Reference Volume 2
Modification Type: | Minor | Last Reviewed: | 7/1/2004 |
---|
Keywords: | kbhowto KB143258 |
---|
|