PickFolder possible bug

U

unFalln

Hi everybody!

I have a database-connected MFC71 app on top of which I would like to export
some of my data to a specified calendar folder in outlook. I have worked out
how to access Outlook functionality in msoutl.olb and I've been able to
export to the default calendar folder. I have also been able to get the user
to select the calendar folder they wish to have the items inserted/updated
into by using the Namespace.PickFolder() method.

My only problem is that Namespace.PickFolder() only shows the PickFolder
dialog when Outlook is already running on the machine (as opposed to when I
create my own instance of the Application in code). Whenever Outlook is not
already invoked, the Namespace.PickFolder() method simply returns null.

Is there some function I should be calling or property I should be setting
in order for the outlook model to be able to display this dialog?
 

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

Top