PC Forms: Err Msg: Invalid Package When Sending an E-Form

Last reviewed: October 25, 1994
Article ID: Q117651
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

SYMPTOMS

In version 1.0 of Microsoft Electronic Forms Designer, an attempt to send a message created using an E-form may generate this error message:

   Invalid Package

CAUSE

The startup form for the E-form Visual Basic project is set incorrectly.

RESOLUTION

In order for an E-form to initialize correctly, the startup form for the Visual Basic project must be set to the Sub Main procedure, rather than to a Visual Basic form.

To set the Startup Form to Sub Main, follow these steps:

  1. Open the E-form project in Visual Basic.

  2. From the Options menu, select Project.

  3. Locate the Startup Form option.

  4. Click on the list box to display the Setting options.

  5. Select Sub Main.

This sets the Sub Main procedure to run when the E-form is started, properly initializing the E-form package.


Additional reference words: 1.00
KBCategory: kbusage
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: October 25, 1994
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.