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.
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.