DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Eric Guest

    Outlook automation problem


    Set c = ol.CreateItem(olContactItem)
    c.MessageClass = "IPM.Contact.CustomersContact"
    c.UserProperties.Find("MyField") = "test"
    c.Save

    In my customized form called "CustomersContact" I have a field called "MyField"
    but I'm not able to access this field...

    Someone has an idea?

    Thanks

    Eric


  2. #2
    Merijn Boom Guest

    Re: Outlook automation problem

    It's quite some time ago I worked with outlook vbscript and I remember there
    where some problemns witj find the way you want to use it.

    I think you must be able to set the field by the command
    c.userproperties("MyField")="Test" if not you could also try the next code
    to see if MyField is in the userproperties
    for each userprop in c.userproperties
    debug.print userprop.name
    next

    good luck,

    --
    Merijn Boom
    Senior Developer
    Con-X-Com
    Connecting Computers


    "Eric" <ericxbenoit@hotmail.com> schreef in bericht
    news:3d5bf617$1@10.1.10.29...
    >
    > Set c = ol.CreateItem(olContactItem)
    > c.MessageClass = "IPM.Contact.CustomersContact"
    > c.UserProperties.Find("MyField") = "test"
    > c.Save
    >
    > In my customized form called "CustomersContact" I have a field called

    "MyField"
    > but I'm not able to access this field...
    >
    > Someone has an idea?
    >
    > Thanks
    >
    > Eric
    >




Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links