Question about Aspose.Slides and license file

I have inherited a project from another coworker that uses Aspose.Slides. Everything works great and ability to produce powerpoint slides is really interesting.

My problem is that when i run my program and generate my powerpoint slide I will randomly get a textbox on all my slides that reads "Evaluation only.Created with Aspose.PowerPoint.Copyright 2004 Aspose Pty Ltd.". Like i said, i inherited this project so im not sure if my license is current or not. I did set my license with the following code:

Dim pres As Aspose.Slides.Presentation = New Aspose.Slides.Presentation("C:\SomeFile.ppt")

Dim license As Aspose.Slides.License = New Aspose.Slides.License()

license.SetLicense("C:\SomeDirectory\Aspose.Slides.lic")

Any ideas as to why im still getting the evaluation message even though a provide a license file?

Any way to tell if the license file i inherited is out of date?

J

You should set license before opening or creating any presentations.

Well after running it a couple of times, i put my code that sets the license BEFORE the creating of the presentation and it works great.

J