"User defined type, not defined" 
Author Message
 "User defined type, not defined"

Can anyone help? Why do I get a "User defined type, not defined" error from
this line:

Dim objSession As MAPI.Session

Is there something I don't have installed? This is in Outlook 2000 on a
WinXP Pro machine.

Any help would be appreciated.

Thanks,
Keith



Tue, 08 Feb 2005 00:38:45 GMT  
 "User defined type, not defined"
Have you manually installed CDO?  CDO is not installed by default on Outlook
2000.

--
Patricia Cardoza
Outlook MVP
www.cardozasolutions.com

~Please post all replies to the newsgroup~

Quote:
> Can anyone help? Why do I get a "User defined type, not defined" error
from
> this line:

> Dim objSession As MAPI.Session

> Is there something I don't have installed? This is in Outlook 2000 on a
> WinXP Pro machine.

> Any help would be appreciated.

> Thanks,
> Keith



Tue, 08 Feb 2005 01:08:10 GMT  
 "User defined type, not defined"
You must install the Collaboration Data Objects component by rerunning
Outlook setup.

--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
     Microsoft Outlook Programming Jumpstart - coming September 2002
     http://www.slipstick.com/books/jumpstart.htm


Quote:
> Can anyone help? Why do I get a "User defined type, not defined" error
from
> this line:

> Dim objSession As MAPI.Session

> Is there something I don't have installed? This is in Outlook 2000 on a
> WinXP Pro machine.

> Any help would be appreciated.

> Thanks,
> Keith



Tue, 08 Feb 2005 00:44:13 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. FileSystemObject "User Defined Type Not Defined"

2. "User-defined type not defined"

3. "Database - user defined type not defined"????

4. "User-defined type not defined" - error message for ADO code

5. Dim As Database gives "User-Defined type not defined" msg

6. "User defined type not defined" (Access 2K)

7. Dim MyDb As Database returns error message "user defined type not defined"

8. "User defined type not defined" trying to connect to an Access DB from Ourlook 2000

9. "User-defined type not defined" ERROR using a DataObject

10. Recordsets results in "User-defined type not defined"

11. Error "User-define type not defined" While using New FileSystemObject Method

12. Recordsets results in "User-defined type not defined"

 

 
Powered by phpBB® Forum Software