FIX: Public Form Procedures Not Available Outside Form

ID: Q185570


The information in this article applies to:
  • Microsoft Windows CE Toolkit for Visual Basic 5.0, version 1.0


SYMPTOMS

Public procedures (sub or function) in a Windows CE Toolkit for Visual Basic (VBCE) 5.0 form module are not available outside the form; they are not public to the entire project.


RESOLUTION

All procedures that could be called from any form within a VBCE project must be placed in a standard module (.bas file).


STATUS

Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.

This problem was corrected in Windows CE Toolkit for Visual Basic 6.0.


MORE INFORMATION

In Visual Basic, a form procedure (function or sub) declared with the Public keyword can be called from outside the form. This method does not work in the Windows CE Toolkit for Visual Basic.


REFERENCES

Books Online for Microsoft Windows CE Toolkit for Visual Basic 5.0

Additional query words: scope private global vbce vbce5 vbce6

Keywords : kbToolkit kbVBp kbVBp500bug kbVBp600fix kbWinCE kbWinCE100 kbGrpVB
Version : WINDOWS:1.0
Platform : WINDOWS
Issue type : kbbug


Last Reviewed: February 24, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.