![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Created a new Task form. Published it in Task folder. How do I use this new
task form in MS-Access? |
Ads |
#2
|
|||
|
|||
![]()
You don't.
Custom Outlook forms are used in Outlook, not Access. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "SrYap" wrote in message ... Created a new Task form. Published it in Task folder. How do I use this new task form in MS-Access? |
#3
|
|||
|
|||
![]()
You need to specify the class name of the custom form with the
MAPIFolder.Items.Add method for the folder where you want to create it: Sub AddForm() Dim myOlApp As New outlook.Application Dim myNamespace As outlook.NameSpace Dim myItems As outlook.Items Dim myFolder As outlook.MAPIFolder Dim myItem As outlook.TaskItem Set myNamespace = myOlApp.GetNamespace("MAPI") Set myFolder = _ myNamespace.GetDefaultFolder(olFolderTasks) Set myItems = myFolder.Items Set myItem = myItems.Add("IPM.Task.myTask") End Sub -- Eric Legault [MVP - Outlook] MCDBA, MCTS (Messaging & Collaboration, SharePoint Infrastructure, MOSS 2007 & WSS 3.0 Application Development) President Collaborative Innovations - Try Picture Attachments Wizard 2.0 For Microsoft Outlook - - Take your SharePoint content offline - - More info: http://www.collaborativeinnovations.ca - Blog: http://blogs.officezealot.com/legault "SrYap" wrote in message ... Created a new Task form. Published it in Task folder. How do I use this new task form in MS-Access? |
#4
|
|||
|
|||
![]()
Is this code to create a new form using MS-Access or to access the new form
created in Outlook? If it is to access the new form, do I use the same way to assign the task, due date, .... as if it is the default Task form from Outlook? Thanks. "Eric Legault [MVP - Outlook]" wrote: You need to specify the class name of the custom form with the MAPIFolder.Items.Add method for the folder where you want to create it: Sub AddForm() Dim myOlApp As New outlook.Application Dim myNamespace As outlook.NameSpace Dim myItems As outlook.Items Dim myFolder As outlook.MAPIFolder Dim myItem As outlook.TaskItem Set myNamespace = myOlApp.GetNamespace("MAPI") Set myFolder = _ myNamespace.GetDefaultFolder(olFolderTasks) Set myItems = myFolder.Items Set myItem = myItems.Add("IPM.Task.myTask") End Sub -- Eric Legault [MVP - Outlook] MCDBA, MCTS (Messaging & Collaboration, SharePoint Infrastructure, MOSS 2007 & WSS 3.0 Application Development) President Collaborative Innovations - Try Picture Attachments Wizard 2.0 For Microsoft Outlook - - Take your SharePoint content offline - - More info: http://www.collaborativeinnovations.ca - Blog: http://blogs.officezealot.com/legault "SrYap" wrote in message ... Created a new Task form. Published it in Task folder. How do I use this new task form in MS-Access? |
#5
|
|||
|
|||
![]()
This is Outlook code, so it's going to create an Outlook Task form, not an
Access form. Even customized Task forms use the same properties and methods as the TaskItem object. So yes - assign it and set dates as you normally would, either in code or in the form. -- Eric Legault [MVP - Outlook] MCDBA, MCTS (Messaging & Collaboration, SharePoint Infrastructure, MOSS 2007 & WSS 3.0 Application Development) President Collaborative Innovations - Try Picture Attachments Wizard 2.0 For Microsoft Outlook - - Take your SharePoint content offline - - More info: http://www.collaborativeinnovations.ca - Blog: http://blogs.officezealot.com/legault "SrYap" wrote in message ... Is this code to create a new form using MS-Access or to access the new form created in Outlook? If it is to access the new form, do I use the same way to assign the task, due date, .... as if it is the default Task form from Outlook? Thanks. "Eric Legault [MVP - Outlook]" wrote: You need to specify the class name of the custom form with the MAPIFolder.Items.Add method for the folder where you want to create it: Sub AddForm() Dim myOlApp As New outlook.Application Dim myNamespace As outlook.NameSpace Dim myItems As outlook.Items Dim myFolder As outlook.MAPIFolder Dim myItem As outlook.TaskItem Set myNamespace = myOlApp.GetNamespace("MAPI") Set myFolder = _ myNamespace.GetDefaultFolder(olFolderTasks) Set myItems = myFolder.Items Set myItem = myItems.Add("IPM.Task.myTask") End Sub -- Eric Legault [MVP - Outlook] MCDBA, MCTS (Messaging & Collaboration, SharePoint Infrastructure, MOSS 2007 & WSS 3.0 Application Development) President Collaborative Innovations - Try Picture Attachments Wizard 2.0 For Microsoft Outlook - - Take your SharePoint content offline - - More info: http://www.collaborativeinnovations.ca - Blog: http://blogs.officezealot.com/legault "SrYap" wrote in message ... Created a new Task form. Published it in Task folder. How do I use this new task form in MS-Access? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with a custom task form | Sherri | Outlook - Using Forms | 0 | June 27th 08 02:16 PM |
Outlook 07 Custom Task Form and SQL | Job | Outlook - Using Forms | 12 | September 13th 07 12:06 AM |
How to Share Custom Task Form | Rob Moore | Outlook - Using Forms | 2 | February 4th 07 01:28 AM |
Custom Task Form | calvin351 | Outlook - Using Forms | 3 | June 15th 06 02:27 AM |
How to use custom task form in Web Outlook | DougMunday | Outlook - Using Forms | 1 | April 7th 06 12:18 PM |