New answers tagged word
Go to the Package and navigate to the the Advanced tab. Add the DLL here. Also as said ny @Evariste in his comment above, remove the DLL from C:\inetpub\wwwroot\wss\VirtualDirectories\80\bin location. This will help you to get rid of the exception mentioned above.
That may be because your DLL hosting the code is deployed into the \bin folder and not into the GAC. GACed DLL have Full control, while \bin DLL have a limited set of permissions (that can be changed in a .config files). You can ensure your main DLL is deployed to GAC in Visual Studio: select the project in Visual Studio, and change the "Assembly ...
The list of fonts in a word file is stored in an XML file called fonttable.xml. To get this file, you need to convert the word file into a package (zip file) and parse the contents of fonttable.xml. Note: You need to add 2 references: DocumentFormat.OpenXml.dll and WindowsBase.dll to your project for handling word processing. Following code handles ...
You should initialize the ActiveXObject before page load and if possible put an alert to see if it's properly initialized or not. It can be a scenario where request is already processed before object is initialized. You can initialize the ActiveXObjectonce and reuse the EditDocumentproperty for different documents like this. ...
Top 50 recent answers are included