Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook - Using Forms (http://www.outlookbanter.com/outlook-using-forms/)
-   -   Create button on toolbar for form (http://www.outlookbanter.com/outlook-using-forms/14414-create-button-toolbar-form.html)

BTH May 11th 06 10:44 AM

Create button on toolbar for form
 
Hello,

I made a form in the public folders so it is available for all users
internally.
What I wanna do now is create a button on a toolbar in outlook that triggers
that form.
The form Launcher is niet quite an option.

Structure is like this:
Public Folders\Mailformulieren\
There is a form called Belmemo.

Can anyone help me

Sue Mosher [MVP-Outlook] May 11th 06 01:22 PM

Create button on toolbar for form
 
To create a new instance of a custom form programmatically, use the Add method on the target folder's Items collection:

Set newItem = targetFolder.Items.Add("IPM.Post.YourFormName")

You can use the code at http://www.outlookcode.com/d/code/getfolder.htm to walk the folder hierarchy and return the MAPIFolder corresponding to a given path string.

See http://www.outlookcode.com/d/launchform.htm for other ideas.


--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"BTH" wrote in message ...
Hello,

I made a form in the public folders so it is available for all users
internally.
What I wanna do now is create a button on a toolbar in outlook that triggers
that form.
The form Launcher is niet quite an option.

Structure is like this:
Public Folders\Mailformulieren\
There is a form called Belmemo.

Can anyone help me



All times are GMT +1. The time now is 12:39 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com