Hi Steve,
I go back to the default Explorer for Tasks. Try this code to see if it gets you what you want:
oOut=create("outlook.application")
ons=oout.getnamespace("MAPI")
otasks=ons.getdefaultfolder(13)
oexpl=otasks.getexplorer
oexpl.activate
>Ok.. In Outlook 2000, in the 'Tasks' Section..
>
>The UI I am taliking about has..
>
>Divisions an the top like a ListView... These divisions typacilly include ‘Subject’, ‘Due Date’, ‘Categories’, etc…
>
>Below (like a listView) is a grid containing your task.
>
>Inside this grid are groupings that you have specified.. (ie: group by cagegory).
>Like a treeview, you click on a grouping and it opens up to reveal either task or more groupings depending on how you have defined you ‘current view’.
>
>To clear up any misunderstandings, I’m not trying to manipulate Outlook from foxpro… I’m wanting to use the control I described above in one of my programs to organize data (just like on would use a listView, TreeView, or a combo box).
>
>Does anybody have any idea if this is possible, and if so--how?
>
>Thanks
>Steve
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05