![]() |
| 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. |
|
|||||||
| Tags: between, creation, differentiate, drag, drop, email, normal, task |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hi all,
I have explorer window opened. Now I select any mail and drag and drop it onto the Task Button available on the Navigation pane. A new task is created and the description of the task is filled up with my email message body. Now my questions a- How can I differentiate between tasks that are created normally and those tasks which are created in this drag drop fashion. I require this so as to perform some activities like setting the category of tasks created from email messages etc. Is there some specific event and/or property which can help me in distinguishing? Currently I am trapping the NewInspector event but that is executed each time even when I open a task from task list. So in this case my activities are executing every time that I don't want. Another question is : I have searched on creating categories programmatically. I didn't get any specific answer whether we can do it or not? I get that master categories are stored as UNICODE/ANSI registeries for different versions of outlook in one of the posts by Sue. When I set category as : taskItem.Categories="MyCategory". Category is added temporarily but not added in Master Category list and it is also not available to other tasks. Is there some workaround for it? Thanks in advance. |
| Ads |
|
#2
|
|||
|
|||
|
1) This might do it: In NewInspector or Inspector_Activate the Taskitem's Subject is like the one in Selection(1). 2) It seems that Sue told you the 'workaround' already: you must determine the Outlook version, dependign on that either open the right registry key and write into it either text or hex values, or if it's OL07 use the new object model. -- Viele Gruesse / Best regards Michael Bauer - MVP Outlook Quick-Cats - Categorize Outlook data: http://www.vboffice.net/product.html...&lang=en&pub=6 Am 17 Apr 2007 01:05:17 -0700 schrieb Mohit: Hi all, I have explorer window opened. Now I select any mail and drag and drop it onto the Task Button available on the Navigation pane. A new task is created and the description of the task is filled up with my email message body. Now my questions a- How can I differentiate between tasks that are created normally and those tasks which are created in this drag drop fashion. I require this so as to perform some activities like setting the category of tasks created from email messages etc. Is there some specific event and/or property which can help me in distinguishing? Currently I am trapping the NewInspector event but that is executed each time even when I open a task from task list. So in this case my activities are executing every time that I don't want. Another question is : I have searched on creating categories programmatically. I didn't get any specific answer whether we can do it or not? I get that master categories are stored as UNICODE/ANSI registeries for different versions of outlook in one of the posts by Sue. When I set category as : taskItem.Categories="MyCategory". Category is added temporarily but not added in Master Category list and it is also not available to other tasks. Is there some workaround for it? Thanks in advance. |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Differentiate between Task and Task Request in NewInspector event | Piyush Gupta | Add-ins for Outlook | 8 | February 7th 07 09:01 PM |
| Differentiate between Task and Task Request in NewInspector event | Piyush Gupta | Outlook and VBA | 1 | February 7th 07 06:00 PM |
| Pop the Task Creation Outlook form from Word | Jim Conrady | Outlook and VBA | 1 | September 18th 06 06:17 AM |
| Help with email creation 2007 | Tim | Outlook - General Queries | 5 | July 6th 06 02:30 PM |
| How do I drag a task in task list of Outlook. It will not let me. | rpetralia | Outlook - Calandaring | 2 | April 5th 06 10:14 AM |