473,320 Members | 2,202 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

view pdf in oracle forms

13
hi im using oracle forms 6i.
i need to view a pdf in oracle forms runtime window itself
the pdf name will differ depending on the previous parameter.
i need to show the pdf in an object in the canvas.


to explain roughly

i need an object/box in the canvas, in which the clients can view a pdf.
the pdf should not open in new window, so that i can restrict the user to do save as/print....
Dec 28 '09 #1
4 19188
amitpatel66
2,367 Expert 2GB
Try this:

Expand|Select|Wrap|Line Numbers
  1. DECLARE
  2. AppID PLS_INTEGER;
  3. a varchar2(100) := 'C:\';
  4. BEGIN
  5. AppID := DDE.App_Begin('C:\Program Files\Adobe\Acrobat 5.0\Reader\AcroRd32.exe '||a||:your_text_item,DDE.App_Mode_Maximized);
  6. exception when others then 
  7. message(sqlerrm(sqlcode));
  8. END;
  9.  
Dec 28 '09 #2
cmuraz
13
thanks for the reply dude...

but i used this code already.

this will open the pdf separately. i dont want tat.

what i need is that i have to open the pdf files in the form itself [embedded in any object]
Dec 29 '09 #3
amitpatel66
2,367 Expert 2GB
Check this:

Syntax:

SHOW_DOCUMENT(url, target);

Description:

Specifies the URL and target window of a Web application.

Parameters:

url Datatype is VARCHAR2. Specifies the Uniform Resource Locator of the document to be loaded.

target Datatype is VARCHAR2. Specifies one of the following targets:

_SELF Causes the document to load into the same frame or window as the source document.

_PARENT Causes the target document to load into the parent window or frameset containing the hypertext reference. If the reference is in a window or top-level frame, it is equivalent to the target _self.

_TOP Causes the document to load into the window containing the hypertext link, replacing any frames currently displayed in the window.

_BLANK Causes the document to load into a new, unnamed top-level window.

Restrictions:

Can only be used from within a form run from the Web.

Example:

Expand|Select|Wrap|Line Numbers
  1.  
  2. BEGIN 
  3.   Web.Show_Document(‘http://www.abc.com’, ‘_self’); 
  4. END; 
  5.  
  6.  
Dec 29 '09 #4
cmuraz
13
that similar to html codings rite?

but we dont use the web appln.

we use only the windows appln for all other purposes.

anyway thanks for the effort. if you have any other method regarding this, pl intimate me.

thanks a lot.
muthu
Dec 29 '09 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Kaix | last post by:
Hello, is there a possibility to control oracle forms form a external application. I like to push a value in a text field in a oracle forms app and "press" a button in this form. Maybe i can...
1
by: MEG | last post by:
Hi, I am trying to do some authentification in a form and have run into a problem. The user types the usename/password into a couple of fields and presses the login button. The button trigger...
2
by: Azhar Bilgrami | last post by:
Hi: I want to Migrate Oracle form 3 to Oracle forms 6i, but I couldnt find that software on Oracle Website, can u please Help me?. Take care of ure self. Azhar
1
by: Chris | last post by:
Our company developed the last couple of years a development tool: using this tool we configure and program (using SQL, and Java-Script) very, very easy an application. The output of the effort is...
2
by: Thomas Kindermann | last post by:
Hello everyone, I'm an oracle database adminstrator and I search some information about possibilities to create easy forms for data input (for example for test data). My Oracle release is now...
1
by: tristant | last post by:
Hi all I need to make decision on which development tool to use: Oracle Forms or Visual Studio .Net. We run Oracle 9i on AIX. And we will develope database application. If use .NET we will use...
0
by: anuj13singhal | last post by:
Hi, I am trying to open a word document on the client machine. the document is present on the oracle application server (on windows). For that I have created a java class file wordbean.class....
5
by: paulnamroud | last post by:
Hi all, We have an application written with Oracle Forms 5.0 and report builder 3.05. We are using Oracle 8i as a database. We have around 50 forms and 10 reports. I'm in a process of...
1
by: Samarjit | last post by:
Hi, I just want to know whether Oracle forms 11g supports other databases like DB2, SQL Server etc. Also does Oracle forms 11g supports Oracle database 9i or 10g apart from 11g?
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.