Alright. In Outlook, if I want to arrange my tasks by categories, I can go View-Arrange By-Categories.
My question is, is there anyway to do this programatically?
Thanks a bundle.
Alright. In Outlook, if I want to arrange my tasks by categories, I can go View-Arrange By-Categories.
My question is, is there anyway to do this programatically?
Thanks a bundle.
I'm not sure what you want. If you want your tasks to be arranged and you're using Outlook to view your tasks, why not use Outlook to arrange your tasks as well? If you aren't using Outlook to view your tasks, you can use COM interop to access Outlook items such as your email and tasks.
If I did your homework for you, then you might pass your class without learning how to write a program like this. Then you might graduate and get your degree without learning how to write a program like this. You might become a professional programmer without knowing how to write a program like this. Someday you might work on a project with me without knowing how to write a program like this. Then I would have to do you serious bodily harm. - Jack Klein
Yes, I know that I should use the Interop.Outlook lib, but could you be more specific? I just want to save the users of a plug-in I'm making some hassle...
I tried sorting the Items array of the task folder, but they can't sort by category O.o Hence my need to arrange by.
Thanks for the help!
Consider using Array.Sort<T>(T[], Comparison<T>) or Array.Sort<T>(T[], IComparer<T>) to define your custom comparison logic.
If I did your homework for you, then you might pass your class without learning how to write a program like this. Then you might graduate and get your degree without learning how to write a program like this. You might become a professional programmer without knowing how to write a program like this. Someday you might work on a project with me without knowing how to write a program like this. Then I would have to do you serious bodily harm. - Jack Klein
There's an issue in that, since Outlook.Items is not an array.
Yes, I could convert that into an array, but then the changes will not be implemented in outlook!
I really appreciate your help though ^.^