Import namespace with ASPOSE.slides?

Using .NET 2

Current site/page is coded in old format:

<%@ Page Language=“VB”%>
<%@ Import namespace=“ADODB” %>
<%@ Import namespace=“MSXML” %>

Tried doing
<%@ Import namespace=“Aspose.Slides” %>

Then testing ASPOSE.Slides

’Instantiate a Presentation object that represents a PPT file
Dim pres As Presentation = New Presentation()

'Create a License object
Dim license As License = New License()


But get error message:

Compiler
Error Message:
BC30002: Type ‘Presentation’ is not defined.

Line 578:	'Instantiate a Presentation object that represents a PPT file
Line 579: Dim pres As Presentation = New Presentation()

Any suggestions?

Thanks…

Hi Steven,

Thanks for considering Aspose.Slides.

I would suggest you that rather than using following statement in your File.aspx

<%@ Import namespace="Aspose.Slides" %>

Please try using following line of code in File.aspx.vb

imports Aspose.Slides

Thanks and Regards,