Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

open a pdf file located on Application Server from forms 10g

user2040934Jun 1 2012 — edited Aug 24 2012
Dear all,

I want to open a pdf file which is stored in a folder on Application Server.

I have the following codes but could not be able to open the file.

1. host('rundll32 url.dll,FileProtocolHandler C:\REP012.pdf');

in this code I mentioned the path on local machine which is okey.

but the question is that how to open the file which is located in a folder on application server?

the following code don't show and file or error:

host('rundll32 url.dll,FileProtocolHandler /EMS/MANUALS/ACC001.PDF');

This is the file on Application Server not on local machine.

2. web.show_document('//EMS/MANUALS/ACC001.PDF/','_blank');

This give HTTP 404 NOT FOUND error

I think the problem is in path, how to mention the path of my Application Server file?

Regards:

Muhammad Nadeem
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 21 2012
Added on Jun 1 2012
5 comments
1,518 views