I am trying to use the Aspose.Pdf.Kit within a VBscript file to get a page count within a PDF file. When I try to create the object using
Set pdfApi = WScript.CreateObject("Aspose.Pdf.Kit.PdfFileInfo")
I get the following error "WScript.CreateObject: Could not locate automation class named Aspose.Pdf.Kit.PdfFileInfo
I registered the dll using regsam and have used other objects in the Kit like "Aspose.Pdf.Kit.PdfFileEditor" to merge pdf files. Can someone help me with the above problem.
Basically, how do what is the ClassID to cerate the PdfFileInfo object and pass in the the path to the PDF file so that I can read the properties of the PDF file.