We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

TLB file missing from Aspose.Words for .NET 14.11.0

I need to prove that this library can be accessed as a COM object before my company will consider purchasing this product.

I downloaded the trial version for

Aspose.Words for .NET 14.11.0

but the file


is missing. Please help.


Clay S. Didier
Lead Software Engineer
enLabel Global Services
300 Commercial Street
Boston, MA

Hi Clay,

Thanks for your inquiry. Yes, Aspose.Words.dll can be accessed as a COM object. If you need to use many of the Aspose.Words classes, methods and properties, consider creating a wrapper assembly (using C# or any other .NET programming language), that will help to avoid using Aspose.Words directly from unmanaged code.

A good approach is to develop a .NET assembly that references Aspose.Words and does all the work with it, and only exposes the minimal set of classes and methods to unmanaged code. Your application then should work just with your wrapper library. For example, you can create a wrapper that uses latest Aspose.Words for .NET assembly as follows:

  1. Open Visual Studio and create “Class Library” project and add a reference to latest Aspose.Words assembly.

  2. Create method, which accepts two parameters (input document path and output document path). Here is source code of the wrapper:

    namespace AsposeComWrapper
        public class Methods
            public Methods() { }
            public void ExportToEpub(object inPath, object outPath)
                Document doc = new Document((string)inPath);
                HtmlSaveOptions saveOptions = new HtmlSaveOptions();
                saveOptions.SaveFormat = SaveFormat.Epub;
                saveOptions.ExportFontResources = true;
                doc.Save((string)outPath, saveOptions);
  3. Now, you should make your class library signed and visible for COM.

  4. After building the project, you should register the DLL using the following command:
    regasm /codebase AsposeComWrapper.dll

  5. Once your helper DLL is registered, you can use it to export Word document to EPUB. Here is sample code:

    Dim lic
    Set lic = CreateObject("Aspose.Words.License")
    Dim comHelper
    Set comHelper = CreateObject("AsposeComWrapper.Methods")
    comHelper.ExportToEpub "C:\temp\in.doc", "C:</span>temp\out.epub"

I hope, this helps.

Best regards,