in reply to Re: Re: How to 'invoke' a PDF file on Win32
in thread How to 'invoke' a PDF file on Win32
Try perldoc Win32::API, then find a good API reference. A lot of VB oriented sites will have good info.#!/usr/bin/perl -w use strict; #use diagnostics; use warnings; use Win32::API; my $ShellExecute = new Win32::API("shell32", "ShellExecute", [qw(N P P + P P N)], 'N'); my $hWnd; $ShellExecute->Call($hWnd, 'open', 'c:/rc.d.pdf', undef, undef, 1);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: How to 'invoke' a PDF file on Win32
by svad (Pilgrim) on Apr 23, 2002 at 17:08 UTC |