Property to determine if a TaskItem is a request

  • Thread starter Thread starter dyowee
  • Start date Start date
D

dyowee

Good day!
I'm creating an Outlook add-in, but I want to be able to determine on a new
explorer if the user wanted to create a new Task or a Task Request. Is there
a property of the TaskItem that tells if it is a request or not?

Thanks.
 
They're of a different object type, TaskItem and TaskRequestItem.

Please visit microsoft.public.outlook.program_vba for more programing
related questions.

--
Best regards
Michael Bauer - MVP Outlook

: Outlook Categories? Category Manager Is Your Tool
: VBOffice Reporter for Data Analysis & Reporting
: <http://www.vboffice.net/product.html?pub=6&lang=en>


Am Wed, 14 Jan 2009 05:34:01 -0800 schrieb dyowee:
 
I'm sorry about this, but I've check the object type on the new inspector
current item, and it says that they are both TaskItem.
 
I'm creating an Outlook add-in, but I want to be able to determine on a
new
explorer if the user wanted to create a new Task or a Task Request. Is
there
a property of the TaskItem that tells if it is a request or not?

microsoft.public.outlook.program_addins is the appropriate newsgroup.
 
I'm sorry, I misunderstood you. The TaskRequestItem is the e-mail that will
be sent.

In the NewInspector event you can't tell for sure what the user is going to
do; he could either start with a simple task and then click the Assign
button, or he starts immediately with a task request.

If that doesn't matter to you, you could catch the click on the toolbar
button: The ID for the Taskitem button is 1100, the one for the Request
button is 2006.

If you don't know how to do that, see this page:
http://www.outlookcode.com/d/tips/commandbarfun.htm

--
Best regards
Michael Bauer - MVP Outlook

: Outlook Categories? Category Manager Is Your Tool
: VBOffice Reporter for Data Analysis & Reporting
: <http://www.vboffice.net/product.html?pub=6&lang=en>



Am Wed, 14 Jan 2009 15:07:02 -0800 schrieb dyowee:
 

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

Back
Top