License problem in VB.NET

hi! I’ve resolve my previous problem by using some work around. I’ve downloaded the temporary license to try if it, i expected that the watermark will be disabled temporarily but as i try it it wouldn’t work. I used this code to set the license.

Dim license As Aspose.Pdf.Kit.License = new Aspose.Pdf.Kit.License

Dim myStream as FileStream = New Filestream(“Aspose.Pdf.Kit.lic”, Filemode.Open)

License.SetLicense(myStream)

It seems that Aspose.Pdf.Kit.License cannot be recognized by vb.net as it always become underlined and as I compiled there is always an error on this 3 lines. maybe aspose.pdf should be declared first. How can I resolved this.

Regards,

Philip Ambion

Hi Philip,

First of all, please make sure that you have referenced the Aspose.Pdf.Kit assembly properly in your project. Secondly, please have a look at the instructions given on this link, and see if it helps.

If you still doesn’t resolve your issue, then please share the sample project with us, so we could look into the matter at our end.

We’re sorry for the inconvenience.
Regards,