How to open custom form using VB?

  • Thread starter Sue Mosher [MVP]
  • Start date
S

Sue Mosher [MVP]

To create a new instance of a custom form programmatically, use the Add method on the target folder's Items collection. If it's a message form, you can use the Drafts folder as the target. If the target is a default folder, you can use the Namespace.GetDefaultFolder method to return it as a MAPIFolder object. Otherwise, you can use the code at http://www.slipstick.com/dev/code/getfolder.htm to walk the folder hierarchy and return the MAPIFolder corresponding to a given path string.

--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
 
T

tomer

I have create a custom form for a custom folder named "My Folder"
The form was published in the personal forms library
And from the folder properties:

"When posting to this folder ,use:" i selected the custom form.

How should i open this form(The default form?) from an add in?

Is it possible to create a code which set this properties?
I need it to be set in my installation program.

thanks in advance.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top