Unfortunatley this function requires an Array of mixed types as input so it does not work well within VB environment. But that doesn't mean you can't use it.
Create a Folder script with a function that calls "setPageLabels()". Pass the same inputs into this function that you would into "setPageLabels()" except, organize the inputs so they are not passed as an array. Then call this function from your VB code.
Thom Parker The source for PDF Scripting Info [url=http://www.pdfScripting.com]pdfscripting.com[/url]
The Acrobat JavaScript Reference, Use it Early and Often [url=http://www.adobe.com/devnet/acrobat/]http://www.adobe.com/devnet/acrobat/[/url]
Create a Folder script with a function that calls "setPageLabels()". Pass the same inputs into this function that you would into "setPageLabels()" except, organize the inputs so they are not passed as an array. Then call this function from your VB code.
Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]
The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/]http://www.adobe.com/devnet/acrobat/[/url]
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script