How To Enable Communications Between UserDocuments/ UserControls (195087)
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
This article was previously published under Q195087 SUMMARY
This article covers how to enable communications between UserControls and
UserDocuments and other programs. There are times when both UserControls
and UserDocuments need to communicate with other forms that are part of the
entire program. Making public functions and public subroutines only enables
communications from parent forms and processes. Using GLOBAL instead of
PUBLIC allows information to be shared between controls, classes, and
forms.
REFERENCES
For more information about UserControls and UserDocuments, use VB Help and
query UserControls or UserDocuments.
(c) Microsoft Corporation 1998, All Rights Reserved. Contributions by
Richard T. Edwards, Microsoft Corporation
Modification Type: | Minor | Last Reviewed: | 7/1/2004 |
---|
Keywords: | kbcode kbCtrl kbhowto KB195087 |
---|
|