how to call pdf file in form without specify reader path [message #504686] |
Wed, 27 April 2011 06:38 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
![](http://www.gravatar.com/avatar/4a23d7ebed909081e77f8df0e7952a09?s=64&d=mm&r=g) |
Motasem
Messages: 3 Registered: April 2011 Location: Jordan
|
Junior Member |
|
|
I need to call pdf file in oracle form 6i without specify the path of adobe acrobat reader .
how to do that?
i.e.:
AppID := DDE.App_Begin(<path where you have winword.exe in your system> <path of the document you wish to open>,DDE.APP_MODE_NORMAL);
i dont need to write ths part
<path where you have winword.exe in your system>
that because in our company we have several virgins of acrobat reader and i really need to call pdf file and make the call statement public
thank you.
[Updated on: Wed, 27 April 2011 07:42] Report message to a moderator
|
|
|
|
|
|
Re: how to call pdf file in form without specify reader path [message #511077 is a reply to message #506234] |
Thu, 09 June 2011 09:06 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) |
![](http://www.gravatar.com/avatar/ecfc4f34de15f12ab6c47c73a7dde511?s=64&d=mm&r=g) |
martorell
Messages: 1 Registered: June 2011 Location: Brazil
|
Junior Member |
|
|
Try reading path at the registry.
For Excel:
excel_path := Win_Api_Environment.Read_Registry('HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Applications\EXCEL.EXE\shell\Open\command',NULL,TRUE);
excel_path := rtrim(substr(excel_path, 1, instr(excel_path, '/', 1, 1)-1));
appid := dde.app_begin(excel_path||' '||p_path_spreadsheet||p_spreadsheet, dde.app_mode_minimized );
|
|
|