Help for this page

Select Code to Download


  1. or download this
    Unable to open property Win32::OLE(0.1501) error 0x80020011: "Does not
    + support a collection"
    in METHOD/PROPERTYGET "" at pdf_testing.pl line 31.
    
  2. or download this
    use strict;
    use Win32::OLE;
    ...
    $pages = $doc->Information($$wd{'wdNumberOfPagesInDocument'}) || die("
    +Unable to open property ", Win32::OLE->LastError());
    print "The number of pages in test.doc are: $pages";
    exit;