Re: Urgent: custom published to organizational forms library problem
From: Sue Mosher [MVP-Outlook] (suemvp_at_outlookcode.com)
Date: 01/16/05
- Next message: David Lao: "Create a Validation Formulas"
- Previous message: Bingo: "Re: Urgent: custom published to organizational forms library problem"
- In reply to: Bingo: "Re: Urgent: custom published to organizational forms library problem"
- Next in thread: Bingo: "Re: Urgent: custom published to organizational forms library problem"
- Reply: Bingo: "Re: Urgent: custom published to organizational forms library problem"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 16 Jan 2005 17:33:37 -0500
If the target folder is objFolder, specify the message class as the
argument:
Set newItem = objFolder.Items.Add("IPM.Note.Whatever")
For a message form, you can use the Drafts folder as the target.
--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx
"Bingo" <anonymous@discussions.microsoft.com> wrote in message
news:11ef01c4fb7b$bca64920$a301280a@phx.gbl...
>
> Sue,
>
> Since the form is published to the Organizational Forms
> Library, not associated with a specific folder, how do I
> create a new item explicitly with my message form using
> MapiFolder.Items.Add method? Thanks.
>
>>-----Original Message-----
>>A better solution would be to use the
> MAPIFOlder.Items.Add method to create
>>a new item explicitly with your message form. The
> MessageClass on the
>>resulting will be IPM.Note if the form was not available.
>>
>>"Bingo" <anonymous@discussions.microsoft.com> wrote in
> message
>>news:0f8501c4fa8c$43e45760$a301280a@phx.gbl...
>>>
>>> Sue,
>>>
>>> After I deleted FRMCACHE.DAT file, everything is
>>> working. Now the question is how I can verify if a user
>>> has my custom form installed? Right now at the startup
>>> in my VB app, I create a new mail and reset the
>>> MessageClass to my custom form. Then I checked if the
>>> user defined fields are null. Are there any other
>>> approaches to check a custom form without using the
>>> message class? Thanks.
- Next message: David Lao: "Create a Validation Formulas"
- Previous message: Bingo: "Re: Urgent: custom published to organizational forms library problem"
- In reply to: Bingo: "Re: Urgent: custom published to organizational forms library problem"
- Next in thread: Bingo: "Re: Urgent: custom published to organizational forms library problem"
- Reply: Bingo: "Re: Urgent: custom published to organizational forms library problem"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|