Retrieving Form from Organization Form Library

M

Muneeb

Hi again!

BACKGROUND
Well Sue, referring to the Task Form Designing issues we discussed, I want
to know about the Organizational Forms Library at Exchange.
LAST THREAD
http://support.microsoft.com/newsgr...orms&mid=da708ed6-d940-4946-ac74-195efda59fd5

In fact I created the Task form and published it to the local folders, then
I built a COM Addin and added a Toolbar button to initiate the Form;
following is the code I used to invoke the form in VB:
Public Sub CreateDTR_ORG()
Dim objFolder As MAPIFolder
'On Error Resume Next
Set objFolder =
m_olApp.GetNamespace("MAPI").GetDefaultFolder(olFolderTasks)

If objFolder Is Nothing Then Exit Sub
Dim oMsg As TaskItem
Set oMsg = objFolder.Items.Add("IPM.Task.DTR")
oMsg.Display
End Sub
The code is taken from MSDN with slight modification to suit my need.

The code is working fine as long as the forms are published to local machines.

QUESTION
I published my form to Organizational Form Library at Exchange server. The
form is being accessed using the normal procedure of form invoking i.e. by
using Choose Form from Tools->Forms menu and selecting the form in
Organizational Form Library.
Now I want to provide the same functionality using the Addin so that users
may be able to invoke the form using the Toolbar button.
Please provide me some hints as your suggestions are very precious to me.
Thanks and Regards!
Muneeb R. Baig

still learning the basics.
 
S

Sue Mosher [MVP-Outlook]

The code is the same regardless of where the form is published.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
M

Muneeb

ummmmmm very silly of me :)
anyway thanx for helping me.
--
Regards!
Muneeb R. Baig

still learning the basics
 

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