Hi. When generating word documents, in Firefox, the document opens in Word. In Internet Explorer, it opens in Word, but within the browser. Anyway I can force the file to open in Word?
Alternatively, can I force the Open/Save pop-up box instead of automatically opening in Word?
Not in front of the code right now, but I think I do OpenInWord
If I change it to Doc.Save, how do I get the user download prompt? And will I run into issues with the same file generated/downloaded if multiple users click the generate button at the same time?
Glad to read that. From my part, I have found a Microsoft KB article that answers your original question about opening documents in Microsoft Word rather than in browser window, see my blog post:
There should be no issues with multiple users and Aspose.Words if you ain’t doing something out of the ordinary. In the scenario you described each user will be running and generating a separate instance of the Document object so there will be no problems with that.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
Enables storage, such as cookies, related to analytics.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.