Free Support Forum - aspose.com

Using Aspose.Cells for .NET in VB6 by resolving error "class does not support automation or does not support expected interface"

Hello,

I am using Asponse.cells from a VB6 component. I have copied the Aspose.cells DLL, tlb and xml file to the VB6 project directory. I registered the DLL using regasm. I set the VB6 project for binary compatability and pointed it to the VB6 dll.

When I run the VB6 program, I am getting an error when instatiating the Aspose.cells object. I did the following:

Dim Aspose_Cells.workbook = New Aspose_Cells.workbook

When executing the above statement, it throws an error:

Run-time error 430:

Class does not support automation or does not support expected interface

Do you know what the problem could be? What am I doing wrong?

Hi,

Please see this thread for a help.
<a href="https://forum.aspose.com/t/122080