Open PDF Files [message #488049] |
Tue, 04 January 2011 06:38 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
infosuresh2k
Messages: 77 Registered: September 2009 Location: CHENNAI, INDIA
|
Member |
![infosuesh2k](/forum/theme/orafaq/images/yahoo.png) ![infosuesh2k](/forum/theme/orafaq/images/skype.png)
|
|
Hi,
I have a PDF files in my file Server, i want to open it through Forms 10g, pls suggest me how to open it.
Regards,
Suresh.V
[EDITED by LF: fixed topic title typo; was "oepn"]
[Updated on: Tue, 04 January 2011 09:20] by Moderator Report message to a moderator
|
|
|
Re: Oepn PDF Files [message #488050 is a reply to message #488049] |
Tue, 04 January 2011 06:58 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
yeahia
Messages: 22 Registered: June 2010 Location: Bangladesh
|
Junior Member |
|
|
i have gigen an example which i have used in my developer 6i forms. try with this.
begin
appID:=dde.app_begin('C:\Adobe\AcroRd32.exe c:\yarn_label.pdf', dde.app_mode_maximized);
end;
here 'C:\Adobe\AcroRd32.exe' means where the acrobat is installed and executable file located and
'c:\yarn_label.pdf' means where the pdf file located.
yeahia
|
|
|
|
|
Re: Open PDF Files [message #489375 is a reply to message #488049] |
Sat, 15 January 2011 06:40 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
colla
Messages: 36 Registered: January 2010 Location: ksa
|
Member |
|
|
hi infosuresh2k
simply create a new button with a trigger When-Button-Pressed
and you can use any one of the following code to open your pdf
file
host('rundll32 url.dll,FileProtocolHandler c:\file_name.pdf');
or
host('c:\file_name.pdf');
or
host ( 'cmd /C start c:\file_name.pdf');
please check your path and file name will
good luck
[Updated on: Sat, 15 January 2011 06:41] Report message to a moderator
|
|
|
|
|
|
Re: Open PDF Files [message #489419 is a reply to message #489396] |
Sun, 16 January 2011 01:07 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
colla
Messages: 36 Registered: January 2010 Location: ksa
|
Member |
|
|
you are right HOST executes on a server, not a client that's because i only read his first message, look to his requirement in the first message
Quote:I have a PDF files in my file Server, i want to open it through Forms 10g, pls suggest me how to open it.
my mistake I did not read the second message, this part
Quote:one more thing i want to open a "Server PDF" file from client application.
thanks
[Updated on: Sun, 16 January 2011 01:09] Report message to a moderator
|
|
|
|