locked
VSTO project crash MS Word and Outlook RRS feed

  • Question

  • hi,

    i'm working with [2005 .net version] C# on a VSTO project

    the problem i'm having is when [MS word, Outlook, or my program] any of these crash; all 3 if running will also crashing.

    i wonder if there is a way in VSTO to run your project as it owns instance of MS word. I don't want to user to lose the data just because one of these crash

    When i run my VSTO project then turn on MS Word or Outlook; i only see one WINWORD.EXE in the Task Manager. I'm expecting to see two WINWORD.EXE in the Task Manager for this case

    Thank in advance
    Paul

    Friday, September 29, 2006 3:58 PM

Answers

  • Unfortunately this is not possible. Word application is designed in such a way that all its windows/frames share the same processe. Although it is possible to start a separate WINWORD process through a command line (see /w switch) - it is not the case when activation is done through OLE - and this is the technology that VSTO designer is using.
    Monday, October 2, 2006 3:56 AM