c# - Using Interop.Office without profile -


I am using Outlook Automation to convert MSG files to HTML documents. All work is fine, but a startup wizard dialog appears when I try to open MSG using OpenSharedItem. The reason for this is that there is no profile defined in the approach, and this dialog can not handle it with my code. I can not stop it I can not configure it I can not even create a program program! But I can not find any way to use interop.outlook without creating profiles. Does anyone know the answer?

"post-text" itemprop = "text">

Outlook always displays that dialog when it first runs.

Is using any option? You can use .GetMessageFromMsgFile. Without logging into a profile .SaveAs (..., olHTML)


Comments