rwbaker has asked for the wisdom of the Perl Monks concerning the following question:

i keep getting an error on this part of the program

i know acrobat reader is on the system
# Print the file my $full_filename="$workdir\\$viewfile"; my $avdoc = new Win32::OLE ('acrord32.AVDOC'); if (! $avdoc) { WriteLog("Error: unable to open Acrobat for printing."); print "acrobat=" . $avdoc . "\n"; goto PR_RESET; }

Replies are listed 'Best First'.
Re: launching acrobat
by Gangabass (Vicar) on Sep 04, 2008 at 04:19 UTC

    First you need to format your code.

    I'm think you need to use "AcroExch.App" but it doesn't work for me too. May you need Adobe Acrobat Pro installed :-(

Re: launching acrobat
by Anonymous Monk on Sep 04, 2008 at 08:36 UTC
    Whats error message? die $^E
      unable to open Acrobat for printing is the error message I am getting I tryed this with excell and it seemed to work fine.. but not with acrobat.. not sure why
Re: launching acrobat
by rwbaker (Initiate) on Sep 05, 2008 at 01:14 UTC
    unable to open Acrobat for printing is th error message I am getting I tryed this with excel an it worked fine but not with acrobat.. not sure why..thats why I am here