open pdf file from a form [message #433982] |
Sun, 06 December 2009 03:53 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
kuwait
Messages: 55 Registered: October 2007
|
Member |
|
|
Hi
I've a button on a form and I wrote a trigger when button pressed to open a pdf file and it worked fine this was my code:
declare
AppID PLS_INTEGER;
begin
AppID := DDE.App_Begin('C:\Program Files\Adobe\Reader 8.0\Reader\AcroRd32.exe Z:\BUILTINS.pdf',DDE.APP_MODE_NORMAL);
end;
The thing is this form is used by multiple clients and if a user has a different version of acrobat reader rather than version 8 this will not work how to do it to be uniform?
Thanks
|
|
|
|
|
|
|
Re: open pdf file from a form [message #453599 is a reply to message #433982] |
Thu, 29 April 2010 21:39 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) |
Kaeluan
Messages: 179 Registered: May 2005 Location: Montreal, Quebec
|
Senior Member |
|
|
You can try something like this
host('rundll32 url.dll,FileProtocolHandler c:\test.pdf')
This will use the OS setting for the file extension and will open it with the good program.
Hope it help
|
|
|