error message

error message

Post by dh » Sat, 05 Jun 2004 13:02:21


I am getting the following error message when I set a string to the value of
a custom field on a custom form. the message is this:
The Item has been moved or deleted, and then the line number
Can anyone enlighten me on this error.
Thank!
DH
 
 
 

error message

Post by Sue Mosher » Sat, 05 Jun 2004 20:28:30

SHowing a code snippet that includes the line number might be helpful.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.yqcomputer.com/




of

 
 
 

error message

Post by dh » Sat, 05 Jun 2004 23:05:13

I think I figured it out. I had the code in the Form_Close area and
variable had probably lost scope at that time. I moved the code to a better
part of the form (form_send) and it works fine.
Thanks always for your response!
DH






value
 
 
 

error message

Post by JT » Wed, 13 Apr 2005 00:56:19

I'm trying to use the following code:

Dim objSession As New MAPI.Session

But I get this error message:

"User defined type not defined"


I'm assuming it has to do with "MAPI" but I'm not sure how
to correct it.

Thanks for the help.
 
 
 

error message

Post by Sue Mosher » Wed, 13 Apr 2005 01:42:00

That error usually indicates that you did not install CDO as part of your Outlook installation. Rerun Outlook setup.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.yqcomputer.com/
 
 
 

error message

Post by RXJpYyBMZW » Wed, 13 Apr 2005 02:11:05

You must set a reference to the Microsoft CDO 1.21 Library in the References
dialog inside the VBA Editor.

If it is not listed, you must install the "Microsoft Collaboration Data
Objects" component under the Outlook section in Office Setup.