Opening multiple instances of word

I’ve got an appliication in which I generate Word documents from HTML and then open them in Word on the client machine. The code is as follows:

Document doc = new Document();
DocumentBuilder builder = new DocumentBuilder(doc);
builder.InsertHtml(template.HtmlContent);
doc.Save("Wall.doc", SaveFormat.Doc, SaveType.OpenInBrowser, Response);

This works perfectly. However, if a user runs through our process again and tries to generate a second word document while the first document is still open in Word, it just brings focus to the first document’s Word window and never displays the second document.

Is there a setting I’m missing in the .Save command that would take care of this?

Hi
Thanks for your inquiry. Please try using SaveType.OpenInWord .

doc.Save("out.doc", SaveFormat.Doc, SaveType.OpenInWord, Response);

Hope this helps.
Best regards.