B
Bingo
I'm using Mapivb32.bas
(http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com
:80/support/kb/articles/Q163/2/16.asp&NoWebContent=1) from MS to automate
Outlook. Everything works fine and I can populate fields like Subject, To,
CC, BCC. On the same page, there's a sample code using this module.
The problem happens when I customize the message form with additional
user-defined fields. These fields are showing on the form correctly. But I
cannot populate these additional fields from the code. I modified the user
defined type MAPIMessage to include the additional fields, but nothing is
populated. Any idea why this failed?
Also, is there a way that I can add my own TO field that will be hidden from
the users of this form? The users will still see the standard TO, CC and
BCC fields. Thanks.
(http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com
:80/support/kb/articles/Q163/2/16.asp&NoWebContent=1) from MS to automate
Outlook. Everything works fine and I can populate fields like Subject, To,
CC, BCC. On the same page, there's a sample code using this module.
The problem happens when I customize the message form with additional
user-defined fields. These fields are showing on the form correctly. But I
cannot populate these additional fields from the code. I modified the user
defined type MAPIMessage to include the additional fields, but nothing is
populated. Any idea why this failed?
Also, is there a way that I can add my own TO field that will be hidden from
the users of this form? The users will still see the standard TO, CC and
BCC fields. Thanks.