Microsoft KB Archive/173853

= PRB: Error 32002 "Unspecified Error" When Adding an Attachment =

Article ID: 173853

Article Last Modified on 6/24/2004

-

APPLIES TO


 * Microsoft Visual Basic 5.0 Learning Edition
 * Microsoft Visual Basic 6.0 Learning Edition
 * Microsoft Visual Basic 5.0 Professional Edition
 * Microsoft Visual Basic 6.0 Professional Edition
 * Microsoft Visual Basic 5.0 Enterprise Edition
 * Microsoft Visual Basic 6.0 Enterprise Edition
 * Microsoft Visual Basic 4.0 Standard Edition
 * Microsoft Visual Basic 4.0 Professional Edition
 * Microsoft Visual Basic 4.0 Enterprise Edition

-



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.

Additional query words: kbVBp500 kbVBp400 kbMapi kbVBp kbVBp600 kbdse kbDSupport

Keywords: kbprb KB173853

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.