I can't find the ActivePerl equivalent of "references" in VB. My Perl
code can instantiate new Word.Application objects just fine, but I can't
instantiate an Adobe Acrobat Distiller object. VB can access the
PdfDistiller class, but I had to check the Acrobat Distiller type
library from the Tools > References menu.
According to the OLE browser in VB for applications in MS Word:
Class PdfDistiller
Member of ACRODISTXLib
PdfDistiller Class
I've tried
my $distiller = Win32::OLE->new('PdfDistiller');
and
my $distiller = Win32::OLE->new('ACRODISTXLib.PdfDistiller');
Neither works.
The Perl script:
use strict;
use Win32::OLE;
my $distiller = Win32::OLE->new('PdfDistiller');
print "new-distill error " . Win32::OLE->LastError() . " \n";
The output:
new-distill error Win32::OLE(0.15) error 0x800401f3: "Invalid class
string"
Thanks!
Tom
_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/activeperl