...
There are several steps to make OfficeWriter available to your .NET applications:
- Install OfficeWriter
- Include System.Web
- Add references to OfficeWriter
- Include OfficeWriter in your code
Anchor | ||||
---|---|---|---|---|
|
...
- At the top level of your application, create a directory call bin.
- Copy SoftArtisans.OfficeWriter.ExcelWriter.dll, SoftArtisans.OfficeWriter.PowerPointWriter.dll, or SoftArtisans.OfficeWriter.WordWriter.dll from the install directory to your application's bin directory.
...
- Right-click the project name in the Solution Explorer and choose Add Reference.
- Click Browse and navigate to C:\Program Files\SoftArtisans\OfficeWriter\bin.
- Choose Softartisans.OfficeWriter.ExcelWriter.dll or , SoftArtisans.OfficeWriter.PowerPointWriter.dll, or SoftArtisans.OfficeWriter.WordWriter.dll and click Open.
- Click OK.
...
These instructions can be used for installing SoftArtisans.OfficeWriter.ExcelWriter.dll, SoftArtisans.OfficeWriter.PowerPointWriter.dll or SoftArtisans.OfficeWriter.WordWriter.dll in the GAC; remember to change 'ExcelWriter' to 'WordWriter' if you want to install SoftArtisans.OfficeWriter.WordWriter.dll instead of ExcelWriteror 'PowerPointWriter depending on the dll you wish to install:
- Open a command prompt window and move to the directory OfficeWriter\bin\dotnet20\.
- Enter gacutil /i SoftArtisans.OfficeWriter.ExcelWriter.dll.
- Open the file machine.config (in [Windows directory]\Microsoft.NET\Framework[.NET version directory]\CONFIG).
...