TaskDialog in a VSTO 2008 Solution

Topics: Developer Forum
Aug 25, 2008 at 6:02 AM

I would assume this would be possible as the messagebox works fine from a VSTO solution, but no matter what I try this just doesn't seem to work.  I have some code that lets me get the current Outlook Window Handle, however this doesn't seem to work with or without the Window Handle.

Would there be any reason this wouldn't work with a VSTO add-in for Outlook?
Aug 26, 2008 at 1:39 AM

I've just come up with a partial solution.  The reason the TaskDialog doesn't work when using them in a VSTO Add-in in Outlook is that Outlook doesn't use the windows common controls.  By editing the manifest and adding another dependency node for the common controls the TaskDialogs now work great.

Now to see if there is way to get them to work without needing to edit Outlook's Manifest.