PRB: Error 32002 "Unspecified Error" When Adding an Attachment (173853)



The information in this article applies to:

  • Microsoft Visual Basic Learning Edition for Windows 5.0
  • Microsoft Visual Basic Learning Edition for Windows 6.0
  • 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
  • Microsoft Visual Basic Standard Edition for Windows 4.0
  • Microsoft Visual Basic Professional Edition for Windows 4.0
  • Microsoft Visual Basic Enterprise Edition for Windows 4.0

This article was previously published under Q173853

SYMPTOMS

Using the Visual Basic MAPI controls, you may get the following error message trying to add an attachment to a message:
Error 32002: Unspecified Error

CAUSE

When using the Visual Basic MAPI controls, you will receive this error if you are attempting to add an attachment(s) to a message while its MsgNoteText Property is a zero-length string.

RESOLUTION

If you want the body of the message to appear blank except for any attachments, add a space to the MsgNoteText Property for each attachment to be added.

STATUS

This behavior is by design.

Modification Type:MajorLast Reviewed:6/24/2004
Keywords:kbprb KB173853