Q: How to open PDF File From oracle forms 11g? I am using Oracle Database 11gR2 with Oracle Forms 11gR2. I have PDF File Saved on Server Machine. I created button with Name "HELP" Manual PDF File. Now i want when user click on button on their local machine then PDF File open from server machine.
I found this code:
host('rundll32 url.dll,FileProtocolHandler c:\file_name.pdf');

Is this code run correctly? Oracle Forms 11g

A: You can create such a Procedure within your form :
Procedure Pr_Print( i_document varchar2 ) Is
   pl_id           paramlist;
   pl_list         paramlist;
   my_rep_server   varchar2(500);
Begin
   pl_list := Get_Parameter_List('tmpdata');
   if not Id_Null(pl_list) then
     Destroy_Parameter_List(pl_list);
   end if;
   pl_list := Create_Parameter_List('tmpdata');

   set_report_object_property('RP2RRO', report_filename, i_document );
   set_report_object_property('RP2RRO', report_server, my_rep_server);
   add_parameter(pl_id, 'column1', text_parameter, :col1 );
   add_parameter(pl_id, 'column2', text_parameter, :col2 );

   rp2rro.rp2rro_run_product(reports, i_document, synchronous, runtime, 
                             filesystem, pl_id, null);
End;

where rp2rro.rp2rro_run_product is a method coming from rp2rro.pll ( a binary library module supplied by Oracle ),
assuming you have col1 and col2 text fields in it.
And call it from a button's WHEN-BUTTON-PRESSED trigger with the code :
Pr_Print('myDocument');
P.S. the library rp2rro.pll should be installed and configured within the application server, too. Since Reports 11g runs on app. server as a web-based application.

A: I think you can use WEB.SHOW_DOCUMENT(url,'_blank'); in your WHEN-BUTTON-PRESSED trigger 
