Microsoft KB Archive/104135

From BetaArchive Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Knowledge Base


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

Article ID: 104135

Article Last Modified on 10/30/2006



APPLIES TO

  • Microsoft Exchange Electronic Forms Designer 5.0, when used with:
    • Microsoft Mail for PC Networks 3.0
    • Microsoft Mail for PC Networks 3.2



This article was previously published under Q104135

SUMMARY

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.


Keywords: KB104135