Once you develop and publish a custom form, what's the best way to make it easy to launch? Probably the least convenient method is to require the user to go through the Tools | Forms | Choose Form dialog. Here are some alternatives, including third-party tools.
If you publish a custom form to a folder, you can launch the form from the command that appears at the bottom of the folder's Action menu.
For a Appointment, Contact, Journal, Task or Post form, you can make the custom form the default for a folder on the folder's Properties menu. The default form launches when the user presses Ctrl+N or double-clicks in the folder view.
You cannot make a message form the default for a folder, because messages are designed to be sent, not posted. The workaround is to make a post form the default, and use this code on the post form to launch your custom message form:
We also have a custom Form Launcher form that provides this capability. See OL2000 How to Set Any Form as Default for a Folder for more on this issue. Message forms need additional special treatment, because message items always save in Drafts; see Microsoft Outlook Message Forms.
The syntax for launching a published custom form from a Windows shortcut is very simple:
"<path>\Outlook.exe" /c "IPM.Note.My Form"
where <path> represents the full path to your Outlook.exe file. (HINT: Use Start | Find to locate Outlook.exe, then drag it to the Windows desktop to create a shortcut. You can then modify this shortcut to add the /cswitch and published form name.
If you didn't publish the form, but instead saved it as an .oft Outlook template file, you can launch it from a shortcut to the .oft file only if the form contains no customized pages or custom fields. In other words, launching an .oft file from a shortcut works only if the "form" is a simple copy of the standard form with the item body or key property values set. To launch any more complex .oft file, you must use the Tools | Forms | Choose Form command and browse to the file location.
Outlook 2003 allows you to create toolbar buttons as hyperlinks to Web URLs, but also to any system files, including an Outlook form, saved as a file:
Again, as noted above, this technique works only for simple .oft files, such as boilerplate messages. It does not work at all in Outlook 2003. Thanks to Stephen Monty of the Department of Agriculture, Fisheries and Forestry - Australia for this tip, which he shared on the outlook-users mailing list. Also see:
If the form has been published rather than saved as an .oft file, you can use one of these methods:
<Outlook://Public Folders/All Public Folders/Forms/~Sales Contact>
You can write a macro in Outlook VBA, then follow the above instructions for creating a toolbar button, dragging the macro from the Macros heading under Commands. See:
Default forms are those that launch from the File | New menu. You can substitute a custom form for any of the default forms. See:
Launching a custom form from a web page requires the same Items.Add method as a VBA macro. See: