How To Open a PDF File in a Oracle Forms
hi
all
I have a Open a PDF file in a PDF viewer when i Press a Button and Check if File is Exit in given Location then open Or Message .
How This is Possible.
Help
this code runs on the webutil configred machines
PROCEDURE Open_Doc
IS
-- Open a stored document --
LC$Cmd Varchar2(128) ;
LC$Nom Varchar2(100) ;
LC$Fic Varchar2(128);
LC$Path Varchar2(128);
LC$Sep Varchar2(1) ;
LN$But Pls_Integer ;
LB$Ok Boolean ;
-- Current Process ID --
ret WEBUTIL_HOST.PROCESS_ID ;
Begin
-- Local temporary file name --
LC$Sep := WEBUTIL_FILE.Get_File_Separator ; -- 10g
LC$Nom := Substr( :FILE_NAME, instr( :FILE_NAME, LC$Sep, -1 ) + 1, 100 ) ;
LC$Path := CLIENT_WIN_API_ENVIRONMENT.Get_Temp_Directory ;
LC$Fic := LC$Path || LC$Sep || LC$Nom ;
-- File extraction --
If Not Webutil_File_Transfer.DB_To_Client
LC$Fic,
'CLM_CASE_ATTACHMENTS', ---------table name
'DOCUMENT_PIC', ----------field name of the picture(blob)
'CASE_ATTACHMENT_ID = ' || To_Char( :CASE_ATTACHMENT_ID )-------where claues
) Then
Raise Form_trigger_Failure ;
End if ;
-- Open the local temporary file --
LC$Cmd := 'cmd /c start "" /WAIT "' || LC$Fic || '"' ;
Ret := WEBUTIL_HOST.blocking( LC$Cmd ) ;
LN$But := WEBUTIL_HOST.Get_return_Code( Ret ) ;
If LN$But <> 0 Then
LB$Ok := WEBUTIL_FILE.DELETE_FILE( LC$Fic ) ;
Raise Form_Trigger_Failure ;
End if ;
end;
Similar Messages
-
How to open a pdf file only in one computer
I would like to sell pdf publications by allowing the user to open them only in one computer. I learnt that this has been done the past when I bought some publications but I don't know the way to do it. Could you help me?
thank you
Marcothank you for your support
Best Regards
Marco
Da: Mylenium <[email protected]>
Per: MARCO1 <[email protected]>,
Data: 09/10/2013 11:09
Oggetto: How to open a pdf
file only in one computer
Re: How to open a pdf file only in one computer
created by Mylenium in Downloading, Installing, Setting Up - View the full
discussion
You will havwe to sign up for some service that supports rights
management, use protected PDFs via LiveCyle/ Acrobat Connect or learn how
to create your own ePub stuff using Digital Publishing Suite. In any case,
it will probably cost you money upfront before you make any revenue.
Mylenium
Please note that the Adobe Forums do not accept email attachments. If you
want to embed a screen image in your message please visit the thread in
the forum to embed the image at
http://forums.adobe.com/message/5746873#5746873
Replies to this message go to everyone subscribed to this thread, not
directly to the person who posted the message. To post a reply, either
reply to this email or visit the message page: [
http://forums.adobe.com/message/5746873#5746873]
To unsubscribe from this thread, please visit the message page at [
http://forums.adobe.com/message/5746873#5746873]. In the Actions box on
the right, click the Stop Email Notifications link.
Start a new discussion in Downloading, Installing, Setting Up at Adobe
Community
For more information about maintaining your forum email notifications
please go to http://forums.adobe.com/message/2936746#2936746.
Il messaggio trasmesso può contenere informazioni di carattere
confidenziale rivolte esclusivamente al destinatario. Ne è vietato l'uso,
la diffusione, la distribuzione o la riproduzione da parte di altre
persone e/o entità diverse da quelle specificate. Nel caso aveste ricevuto
questo messaggio per errore, siete pregati di segnalarlo immediatamente al
mittente e cancellare quanto ricevuto.
This electronic mail transmission may contain confidential information
addressed only to the person(s) named. Any use, distribution, copying or
disclosure by any other person and/or entities other than the intended
recipient is prohibited. If you received this transmission in error,
please inform the sender immediately and delete the material -
How to open a pdf file in JFrame
hi to all,
i need to know how to open a pdf file in JFrame. Help is needed with this would grateful, and i used the code state below..
InputStream in=this.getClass().getResourceAsStream("/images/help1.pdf");
Process p = Runtime.getRuntime().exec(in);Thanks in Advance...this is the error which i'm getting while executing the code
init:
deps-jar:
Compiling 1 source file to /home/VEL AREA/SampleApplication/build/classes
/home/VEL AREA/SampleApplication/src/sampleapplication/Main.java:3: package com.sun.pdfview does not exist
import com.sun.pdfview.PDFFile;
/home/VEL AREA/SampleApplication/src/sampleapplication/Main.java:4: package com.sun.pdfview does not exist
import com.sun.pdfview.PDFPage;
/home/VEL AREA/SampleApplication/src/sampleapplication/Main.java:5: package com.sun.pdfview does not exist
import com.sun.pdfview.PagePanel;
/home/VEL AREA/SampleApplication/src/sampleapplication/Main.java:25: cannot find symbol
symbol : class PagePanel
location: class sampleapplication.Main
PagePanel panel = new PagePanel();
/home/VEL AREA/SampleApplication/src/sampleapplication/Main.java:25: cannot find symbol
symbol : class PagePanel
location: class sampleapplication.Main
PagePanel panel = new PagePanel();
/home/VEL AREA/SampleApplication/src/sampleapplication/Main.java:36: cannot find symbol
symbol : class PDFFile
location: class sampleapplication.Main
PDFFile pdffile = new PDFFile(buf);
/home/VEL AREA/SampleApplication/src/sampleapplication/Main.java:36: cannot find symbol
symbol : class PDFFile
location: class sampleapplication.Main
PDFFile pdffile = new PDFFile(buf);
/home/VEL AREA/SampleApplication/src/sampleapplication/Main.java:39: cannot find symbol
symbol : class PDFPage
location: class sampleapplication.Main
PDFPage page = pdffile.getPage(0);
8 errors
BUILD FAILED (total time: 2 seconds)
for the reply #4.. -
How to open a pdf file and then attach it with images
I am new to Indesign Server.
I'm currently working on a pdf.
I have a white blank pdf template.
that I want to attach/glue it with images.
How to open a pdf file and then attach it with images.
Please, help me.
Thanks.First step would be to make yourself familiar with InDesign desktop version.
Whatever you intend to achieve, do it there manually. (see regular app docs or forums)
Then try to automate your steps with scripting (see scripting docs or forum)
If you can do it with a script in the desktop version, that script will likely also run in ID Server. (see server forum).
If you can specify missing features not achievable thru scripting or manual use, reconsider to write a plugin (this forum).
A seasoned C++ programmer will need a few months to learn the basics, wade thru tons of documentation etc. Alternatively consider to hire a consultant to do the development work for you.
Dirk -
How to open a pdf file using OPEN DATASET
Im trying to convert a pdf into binary format. So im trying to read the contents of the pdf into a XSTRING. Using the FM 'SCMS_XSTRING_TO_BINARY' i can convert the XSTRING to binary format.
How to open a pdf file using OPEN DATASET and transfer its contents in a XSTRING variable.
What i've tried is....
DATA: f_name type string value 'C:\rep_output_pdf.pdf',
x1 type xstring,
LT_DATA TYPE STANDARD TABLE OF X255.
OPEN DATASET f_name FOR input IN BINARY MODE.
READ DATASET f_name INTO x1.
CLOSE DATASET f_name.
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
EXPORTING
BUFFER = x1
TABLES
BINARY_TAB = LT_DATA.
Im getting a short dump .
Short text: The file is not open.
Plz help me out.Hello Rajesh,
You are trying to do use OPEN DATASET with a local file. NOT POSSIBLE
You have to have the file in the app server to use OPEN DATASET.
BR,
Suhas -
How to open a pdf file in Adobe Reader using URL scheme on iOS devices
To open a pdf files in Adobe Reader on iOS devices,
I created url links as follows:
com.adobe.Adobe-Reader://mysite.com/myfile.pdf
com.adobe.reader.request://mysite.com/myfile.pdf
But none of these does work.
Adobe Reader starts up but never opens pdf files.
Does anyone know how to write URL scheme?
Thanks in advance.Sorry. Wrong category.
-
How to open a pdf file in signed version?
Hello,
I like to open a singed pdf file in the singed version mode.
If I open the pdf with command windows.open() it's possible to change the fields of the pdf file, signed fields are displayed but we don't want to give the user the change opportunity. When I open the pdf with windows.show() then the singed fields are empty and we want to see the signed fields as well.
When I do a right click on the signed field there is an option show signed version. Then the edit functions an interactive functions are disabled. This is the state I like to open the pdf files. How to achieve this?
hope that someone can help me!this is the error which i'm getting while executing the code
init:
deps-jar:
Compiling 1 source file to /home/VEL AREA/SampleApplication/build/classes
/home/VEL AREA/SampleApplication/src/sampleapplication/Main.java:3: package com.sun.pdfview does not exist
import com.sun.pdfview.PDFFile;
/home/VEL AREA/SampleApplication/src/sampleapplication/Main.java:4: package com.sun.pdfview does not exist
import com.sun.pdfview.PDFPage;
/home/VEL AREA/SampleApplication/src/sampleapplication/Main.java:5: package com.sun.pdfview does not exist
import com.sun.pdfview.PagePanel;
/home/VEL AREA/SampleApplication/src/sampleapplication/Main.java:25: cannot find symbol
symbol : class PagePanel
location: class sampleapplication.Main
PagePanel panel = new PagePanel();
/home/VEL AREA/SampleApplication/src/sampleapplication/Main.java:25: cannot find symbol
symbol : class PagePanel
location: class sampleapplication.Main
PagePanel panel = new PagePanel();
/home/VEL AREA/SampleApplication/src/sampleapplication/Main.java:36: cannot find symbol
symbol : class PDFFile
location: class sampleapplication.Main
PDFFile pdffile = new PDFFile(buf);
/home/VEL AREA/SampleApplication/src/sampleapplication/Main.java:36: cannot find symbol
symbol : class PDFFile
location: class sampleapplication.Main
PDFFile pdffile = new PDFFile(buf);
/home/VEL AREA/SampleApplication/src/sampleapplication/Main.java:39: cannot find symbol
symbol : class PDFPage
location: class sampleapplication.Main
PDFPage page = pdffile.getPage(0);
8 errors
BUILD FAILED (total time: 2 seconds)
for the reply #4.. -
How to open a PDF file using NWDS or VC
Hi Frndz...
As per my requirment i need to open a PDF file on browser which PDFs are reside on R/3 and in my case EP server is on UNIX usinig either NWDS or VC ....
Thanks in Advance
Regards
Rajesh
09903726944hi,
can you put your question much more clearly? I couldnt get you properly.
Check out the following links, they may be useful
[How to Create a pdf form Using Web Dynpro - Java;
[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/805709cb-ec97-2910-04b8-f3d6303d8d3b]
[Diff - PDF view inside NWDS livecycle designer and when App. is run;
[https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/90e8e837-cc15-2a10-8db1-a87e2d29e9c9]
Regards,
Murthy. -
Hello everyone,
i have the following problem. I would like to open a PDF-file on my web-page in a new window but this file should be shown without any option to Print, Save, Copy or resizing option (Increase and Decrease in percentage size).
Is this actually possible. The perfect solution would be if the the buttons to print, save, copy, increase/decrease would not only be disabled but completely blinded out. My perfect solution would look like below so that the user can only navigate through the pages but he/she cannot do anything else.
Hopefully, someone can help me out.
Thank's a lot,
JoHi Alexandre,
I don't think this is possible with the current APIs that
HTMLLoader exposes. (Unless webkit supports object tags that takes
the source data in base 64 encoded form, which I think is unlikely)
But it is a good feature to have. Please file a feature
request at
http://www.adobe.com/go/wish -
How to open a pdf file in Acrobat Reader from a webdynpro application
Hi,
I need to open a pdf file stored in the server from a web dynpro application. The pdf needs to be opened in the stand alone reader at the client and not in a reader embedded in the browser.
Cheers,
KrishHello,
I'm fairly new to webdynpro and am trying to render a pdf via webdynpro.
The webdynpro application runs but I see only a blank screen with the title.Is there any specific setting I need to do in order to view this pdf?I have used the FileDownload-UIElement.
Thanks in advance
Biraj -
How to open a pdf files?
Just a week ago, I was able to open my pdf files that were created in 2013 until my adobe reader was updated to X!. What will I need to do? Please help. Thanks.
"weird" and "strange" doesn't explain anything.
Can you post a screenshot? See http://forums.adobe.com/thread/1070933 -
I can't remember how to open a pdf file that I saved in My Documents.
At one time I knew how to open a pdf saved in My Documents on my iMac, but I can't remember now. I need to open this document because it's for my taxes. Any help will be greatly appreciated.
~ SueCare to share which OS you are using?
-
How to open the pdf file using LabVIEW program
I want to open the pdf file using the system exe, but it is not happening . Can you help me?
Solved!
Go to Solution.In simpler version
Mark the satisfied answer as accepted solution for your question,you mistakenly marked youself
Message Edited by Baji on 04-07-2009 05:03 PM
Balaji PK (CLA)
Ever tried. Ever failed. No matter. Try again. Fail again. Fail better
Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved.
Attachments:
open pdf.JPG 25 KB -
How to convert static pdf file to dynamic xml form pdf
Hi All,
I have generated one pdf report. I need to do build some logic in that generated pdf file. For this i need to convert this generated static pdf file to dynamic xml form pdf using Adobe LifeCycle Desinger. I opened my generated static pdf in Adobe LifeCycle Desinger and i tried to save this file in dynamic xml form pdf but it is not showing that option.
How do we convert those type of reports to dynamic xml pdf?
Advance Thanks
Prasad SagalaHi djaknow,
Thanks for your reply, i got it now.But i am facing another problem like, my generated static pdf file has some logos, charts and some art symbols. For those if i am opening in LC and set the target version as 8.1 & above then saved as dynamic xml form pdf, Now i opened that dynamic xml form pdf the content(Images,logs and Art symbols) was not show me. It is comming fine if pdf does not contain any images, logos...etc.
Can you tell me how i can i convert all the content( including images, logos ...etc) in my static pdf to dynamic xml form pdf.
Advance Thanks
Prasad Sagala -
How to open an internet browser inside an Oracle Form?
Hello,
I am using Oracle forms 10g and I want to open any internet browser inside my oracle form. Any idea if it is even do able in the forms.
Thanks in advance for your help!
HemangiAre you talking about displaying a webpage directly inside of an Oracle Form or simply opening a webpage (in a browser window) form a Form?
If you want embed a webpage in a Form, then this can only be done by extending Forms functionality througha Java Bean. Take a look at this Java Bean: A Full Web Browser Java Bean .
If you just want to open a web page from Forms the MST is correct.
Craig...
Maybe you are looking for
-
Plant name missing in PO line item details (Delivery address tab)
Hi We are facing issue with ECC PO migration to SRM SUS client due to missing line item delivery address field name. We have PI integration. Name exist in PO XML on ECC interface but not copied on to PO line delivery address details (ME23n) Impact: W
-
Links Work in iWeb but ONLY Header Links when Published.
Strange but true. I have set links on the page and in the header. But when I publish to a folder the links on the welcome page don't work but in the header do. It doesn't matter if they are text or graphic. I have copied the links to other pages and
-
Where do I go to delete old messages and not SAVE any?
Where do I go to delete old messages and not save any?
-
Error: "Stopping Services" when upgrading itunes :-( help!
i needed to upgrade my itunes so that i could use my new ipod nano. when i went to do this, i got almost all the way through the download until it says "stopping services." Then after thinking for a long time an error comes up saying the "ipodservice
-
How to make emails not show up in the inbox?
I am getting A LOT of emails (automaticly) from a forum thread that im getting updates from, and its totally spamming my inbox. Is it possible to automatically redirect those emails from the specific sender FROM the inbox and into a separate inbox/fo