I just tried to create a small class library , named it MacVad.cs. It includes
ASPOSE.Excel. Then after i compiled it into MacVad.dll, i was using regasm.exe
to create MacVad.tlb file so i can access this class on my Visual Basic 6 project.
/// Summary description for Class1.
public class CreateExcel
private string p_filename;
public string FileName
p_filename = value;
public CreateExcel(string v_filename)
p_filename = v_filename;
public void Process()
Aspose.Excel.Excel obj = new Aspose.Excel.Excel();
Then i opened new project in VB6, on project reference i included MacVad. So, the vb6 code is like this:
Private Sub Command1_Click()
Dim obj As New MacVad.CreateExcel
but when i execute the program it displayed an error "File or Assembly name MacVad or one of its dependencies was not found!". So, what i have to do then
to make my MacVad.dll that included ASPose.Excel working fine on my VB6 application ?