PC Forms: Using Grid and OLE Client Controls in Routing Forms

Last reviewed: November 1, 1995
Article ID: Q104135
The information in this article applies to:
  • Microsoft Electronic Forms Designer, version 1.0, running with Microsoft Mail for PC Networks, version 3.0 or 3.2

When you customize the Routing Form included with version 1.0 of Microsoft Electronic Forms Designer, grid and OLE client controls with nonempty Tag properties are not automatically added to the MEF package. This occurs because the code for these controls is missing from the ReadTaggedControls() and WriteTaggedControls() functions defined in EFORM.BAS.

To add grid and OLE client controls to the Routing Form, you can copy the code to enumerate these controls from the Generic Template by performing the following steps:

  1. Open the Generic Template project in Visual Basic.

  2. In the Project window, select EFORM.BAS.

  3. In the Procedures drop-down list box, select ReadTaggedControls.

  4. Scroll to the section of the code that is commented "'Grid Control". Select the code for the grid and OLE client controls.

  5. From the Edit menu, choose Copy.

  6. Open the Routing Form project by choosing Open Project from the File menu.

  7. In the Project window, select EFORM.BAS.

  8. In the Procedures drop-down list box, select ReadTaggedControls.

  9. Scroll to the "'Add other custom controls here" comment.

  10. Click below the comment and choose Paste from the Edit menu to add the code.

  11. Repeat steps 2-10 for the WriteTaggedControls() function.


Additional reference words: 1.00 auto-package
KBCategory: kbprg kbtlc
KBSubcategory: MailPCForms


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: November 1, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.