A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Tags: , , , , , , ,

Differentiate between drag & drop email task creation and normal task creation





 
 
Thread Tools Display Modes
  #1  
Old April 17th 07, 09:05 AM posted to microsoft.public.outlook.program_addins
Mohit
external usenet poster
 
Posts: 6
Default Differentiate between drag & drop email task creation and normal task creation

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  
Old April 18th 07, 05:54 AM posted to microsoft.public.outlook.program_addins
Michael Bauer [MVP - Outlook]
external usenet poster
 
Posts: 1,162
Default Differentiate between drag & drop email task creation and normal task creation



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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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


All times are GMT +1. The time now is 07:37 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2008 Outlook Banter, part of the NewsgroupBanter project.
The comments are property of their posters.
New York Hotel - Personal Loans - Vegas Hotel - Money - Free Myspace Layouts