6i to 9i conversion OLE container stored in a LONG RAW column to BLOB

I need to automate the migration of data stored in a long raw column to a blob column. The objects were stored in the long raw column using an Oracle Forms 6i OLE container. There is also multiple object types stored in the column, ie (word, excel, images, but mostly pdf's). I have looked at the webutil package but cannot figure out how to read the long raw column since ole containers are obsolete in 9i. I have a lot of records that need migrating and need help.
Thanks,
J. Broome
[email protected]

It doesn't appear that I am able to attach the PDF files.  Can you supply your email (or I can supply mine) so I can send you the three files:
1.)  A good PDF (manually extracted from our old application)
2.)  Dump of the same PDF file (includes header/footer info)
3.)  A partially fixed PDF file (but some of the pictures / pages are cut off - specifically pages 3,5,9,10,12,14)
The way that we have tried to fix the file (in example 3 above) is the following:
a.)  Find the First Occurrence of "%PDF-"
b.)  Find the Last Occurrence of "%%EOF"
c.)  if the first "%PDF-" is found AND the last "%%EOF" is found, then
   i.)  Remove all data before the first %PDF-
   ii.)  Remove all data after the last %%EOF
Let me know if you need any other information.
Thanks,
Mike

Similar Messages

  • How can i read a stored picture in oracle Long Raw datatype? blob or clob?

    How can i read a stored picture in oracle Long Raw datatype? Like a blob or clob?....i am using jdk 1.3
    This is because...i tried to read it like a blob but i obtain a exception...about Type of column no valid......but the column exist....and it contains the long raw datatype of the pictures.....this is my code:
    import java.sql.*;
    import java.io.*;
    import java.util.*;
    import oracle.jdbc.driver.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.io.InputStream;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.OutputStream;
    import java.sql.Connection;
    import java.sql.Statement;
    import java.sql.ResultSet;
    import java.sql.DriverManager;
    import oracle.sql.BLOB;
    import oracle.sql.BLOB.*;
    import oracle.jdbc.driver.*;
    import java.sql.*;
    class rec_ima1
    public static void main(String h[])
    Connection con = null;
    Blob bl;
    final ImageIcon image1;
    JPanel photo;
    try
    Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
    con= DriverManager.getConnection("jdbc:oracle:thin:@123.3.12.213:1521:db_name","user","password");
    String query = "Select * from pictures where ID = '18840'";
    Statement stmt = con.createStatement();
    ResultSet rs = stmt.executeQuery( query );
    if (!rs.next())
    System.out.println("Empty Result Set");
    bl = rs.getBlob(5);
    if (bl == null) {
    System.out.println("Null Blob");
    return;
    InputStream is = bl.getBinaryStream();
    int imageLength = (int) bl.length();
    System.out.println(imageLength);
    System.out.println(bl.length());
    byte[] imageData = new byte [imageLength];
    is.read(imageData, 0, imageLength);
    image1 = new ImageIcon(imageData);
    photo = new JPanel() {
    public void paint(Graphics g){
    g.setColor(Color.lightGray);
    g.drawImage(image1.getImage(), 0, 0, this);
    } catch (Exception e) {
    e.printStackTrace();
    Now i tried using clob:
    import java.sql.*;
    import java.io.*;
    import java.util.*;
    import oracle.jdbc.driver.*;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.io.InputStream;
    import java.io.File;
    import java.io.FileInputStream;
    import java.io.FileOutputStream;
    import java.io.OutputStream;
    import java.sql.Connection;
    import java.sql.Statement;
    import java.sql.ResultSet;
    import java.sql.DriverManager;
    import oracle.sql.CLOB;
    import oracle.sql.CLOB.*;
    import oracle.jdbc.driver.*;
    import java.sql.CallableStatement;
    class rec_ima4
    public static void main(String h[])
    Connection con = null;
    Clob cl;
    JPanel photo;
    try
    Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
    con= DriverManager.getConnection("jdbc:oracle:thin:@123.3.12.213:1521:db_name","user","password");
    con.setAutoCommit (false);
    String query = "Select * from pictures where ID = '18840'";
    Statement stmt = con.createStatement();
    ResultSet rs = stmt.executeQuery( query );
    while (rs.next()) {
    oracle.sql.CLOB clob = (CLOB) rs.getObject(5); //line 47
    } catch (Exception e) {
    e.printStackTrace();
    This is the runtime exception:
    java.lang.ClassCastException: [B
    at rec_ima4.main(rec_ima4.java:47)

    Thanks by answering to me......
    Well....i did that....but what is ImageIO?....
    I declared a ImageIcon imageIO, but this give me the following:
    rec_ima3.java:49: cannot resolve symbol
    symbol : class BufferedImage
    location: class rec_ima3
    BufferedImage bi = ImageIO.read(bInput);
    ^
    rec_ima3.java:49: cannot resolve symbol
    symbol : variable ImageIO
    location: class rec_ima3
    BufferedImage bi = ImageIO.read(bInput);
    ^
    What classes i have to import?.....what is ImageIO?
    Thanks

  • Help: Extract OLE object from 8i (long raw) to a server file folder

    Posting here because most of the technical discussion I have found are in this group (Forms).
    I have an 8i db with workpapers(.doc,.xls,etc) stored in a Long Raw column wrapped in OLE that were collected using forms. The DB is maintained on a Sun Solaris platform.
    I need to extract the documents and write each one to a server folder as a .doc or ,xls without any OLE details.
    Is this possible? How?

    As far as I know you have to use OLE Item to work with the information. Unfortunately there is not any standart way to extract a source document from OLE. Some applications such as Word, Excel support OLE Automation, so you could use OLE2 package to save the document as a file, that is the easest way. But others don't, so you may have to use an undocumented way to extract a document.
    Take a look at the following thread:
    Subj: 6i to 9i Ole to LOB translations, How do you know the App. server?
    Re: 6i to 9i Ole to LOB translations, How do you know the App. server?
    P.S. If you can't extract some types of your documents, please let me khow.
    P.P.S. To extract a document through OLE2 package you could use something like the following. /I'm not sure the code is correct/:
    DECLARE
    handle ole2.obj_type;
    BEGIN
    ACTIVATE_SERVER('OLE1');
    handle := forms_ole.get_interface_pointer('OLE1');
    BEGIN
    -- Save a document to disk
    Args :=OLE2.CREATE_ARGLIST;
    OLE2.ADD_ARG(Args, 'C:\test.doc'); -- file name
    OLE2.INVOKE(handle, 'SaveAs', Args);
    OLE2.DESTROY_ARGLIST(Args);
    EXCEPTION WHEN OTHERS THEN
    Message('Error');
    END;
    -- OLE2.RELEASE_OBJ(handle);
    END;

  • Retriving a blob after it was loaded by OLE container in forms 6i

    We had forms6i application which has loaded documents into a blob column in the database using OLE container. We are able to retrive the blob from the OLE container on the forms6i, However when we are trying to retrive the same blob using PL/sql into the OS level file , we are unable to open the file as it not able to de-serialize the blob loaded into the database by an OLE container on the forms 6i
    we have loaded around 5000 documents in the database using forms 6i application.
    These were loaded during normal application usage and added mannually by invoking the forms application and then saving.
    Our requirement is now to retrive these documents all at once using automated scripts. if Blob data is inserted using forms 6i OLE container then is there any automated exteneded procedures to retrive those blobs using PL SQL script or any other method.
    my Forms version:Forms 6.0.8.25
    My Databae : Oracle database 10.2.0.4
    Thanks in advance.

    When you click a C/S OLE object, it is opened with its default application's owner, no ?
    So if the OLE object is opened by Excel, the extension is .xls.
    In any case you have to open the OLE object with its "mother" application if you want to save it as a file, so there is no problem at all to decide with extension to use.
    If you read this article : http://sheikyerbouti.developpez.com/webutil-docs/Webutil_store_edit_docs.htm you can see that the filename is automatically opened with the corresponding application.
    Francois

  • Importing a file containing long raw data

    I have got a .dmp file which was exported from an oracle 8i database & contains a long raw column.Now, when i try to import this file in to oracle 9i database, the import says,
    C:\>imp
    Import: Release 9.2.0.1.0 - Production on Sat Aug 20 14:51:03 2005
    Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
    Username: sys@mydb2 as sysdba
    Password:
    Connected to: Personal Oracle9i Release 9.2.0.1.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.1.0 - Production
    Import file: EXPDAT.DMP > invoice_content.dmp
    Enter insert buffer size (minimum is 8192) 30720>
    Export file created by EXPORT:V08.01.07 via conventional path
    Warning: the objects were exported by TPSYSADM, not by you
    import done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
    export client uses US7ASCII character set (possible charset conversion)
    export server uses US7ASCII NCHAR character set (possible ncharset conversion)
    List contents of import file only (yes/no): no >
    Ignore create error due to object existence (yes/no): no >
    Import grants (yes/no): yes >
    Import table data (yes/no): yes >
    Import entire export file (yes/no): no >
    Username: tpsysadm
    Enter table(T) or partition(T:P) names. Null list means all tables for user
    Enter table(T) or partition(T:P) name or . if done:
    . importing TPSYSADM's objects into SYS
    Import terminated successfully without warnings.
    Now, when i query from the sys user, i dont find any object with the name invoice_contents.
    Can any 1 help me out of the above problem.
    Thanks in advance.

    The import seems OK, but it also seems that no rows have been imported, maybe no tables. What is the result of :
    SQL> select owner, table_name from dba_tables where table_name like '%INVOICE%';
    BTW, is the name invoice_content or invoice_contents ?
    If the query does not give result, then try to check the content of your dmp file
    C:\> imp user/password@db file=invoice_content.dmp full=y show=y
    Paul

  • OLE Container linked documents conversion to Web Forms

    We have developed a form within our Oracle 6i application which allows users to navigate directly from the Forms application to relevant documents. We use an OLE container and the documents (Word, Excel, PDF etc) are linked rather than embedded in the database. I understand that OLE containers are not supported within Web Forms. I'd like to maintain the functionality within the application and welcome any suggestions. I was hoping that Web_Util would provide this but it doesn't appear so. We have over 12000 embedded references to documents which we'd like to extract or retain. A possible solution would be to extract the filenames and paths/locations and have them available as a hyperlink.
    I have no idea how to extract the file from the database blob column. There are many samples of code on Metalink to extract the document and store it locally but that's not what we want.
    We use an OLE container (now Obsolete) with the OLE Tenant Type set to Linked, and OLE Tenant Aspect set to Icon. So the actual document is not embedded in the database but somehow the Application (Word Excel etc) knows the filename and path when you double click on the Icon.
    I would like to extract the filename/path from the blob column and transfer it to another column which will be used as a hyperlink.

    The documents are NOT stored in the database, they are linked. We have the documents on the network but have no idea which documents match to which unique record id on the database. Hence the need to extract the name and location of the files. Some ids can have up to 10 different documents attached to them
    The use of OLE Tenant type "Linked" was really a Forms 6 version of a hyperlink.
    I've got a hyperlink working for future use in attaching new documents to a record id. I am worried that we've lost the record of old links. I don't understand how Oracle can make something obsolete without at least providing an upgrade method.
    Hope this makes it clearer.
    Lesley

  • OLE Container and Forms9i

    I have a table containing a blob field. The field have texts and pictures in Acrobat reader format and JPEG format.
    The forms 6 use an OLE Container to manipulate these data's.
    I would like the have the same kind of possibilities in the Web environment.
    I don(t have any ideas how to proceed (I don't have write any OLE script).
    Did someone have an idea how to proceed ?
    Thanks

    Thanks for the answers I have received.
    I'am implementing the following solution:
    1) Download the document stored in the BLOB to a local temporary document (via webutil_file_transfert.db_to_client_with_progress procedure)
    2) Start Acrobat Reader and load the document (via CLIENT_HOST procedure)
    3) Upload the document to the database.
    My problem is: The document in the temporary file contains an OLE Container Header !
    I need to clean up all the documents store in the BLOB in order to be able to open them.
    Any ideas ??
    Thanks

  • OLE-Container and migration to the web

    Our environment:
    We run our forms in both, client-server and web-environment. Now we plan to migrate some outstanding tasks to the web (using web_util) and then desupport the client-server-version.
    My problem:
    There is a form with a OLE-Container. Users can store and retrieve documents like pdf or tif in the database (longraw). Until yet there are no constraints respecting to the filetype. For the future we want to limit the user to pdf and tif.
    How can I migrate this application to the web?
    OLE-Objects are obsolet, but I don't see, how web_util can help.
    I don't know how the data are modified when an ole-object is stored to the longraw-column. I guess there must be some tags/ envelopes, describing the type of the document.
    Is this "ole-format" also obsolet? Should we migrate our data, too?
    What do you recommend?
    Wolfram Dorner

    Hello,
    <p>Here is one workaround.</p>
    Francois

  • Problem in Using OLE Container

    Sir I have development an ActiveX in VB for urdu in oracle forms.
    The problems I am facing is that it is storing the input efficiently but
    when I Query the saved data it is not working,
    I got an Error that OLE Object not defined for the current record.
    It create the OLE object for a new record and take input & save it
    But as I assign the retrieved Data in Post Query, it give error object not
    defined.
    At the same time it display out when assign with when button pressed.
    the code that is working is for saving in the database is at save button (when
    button pressed)
    DECLARE
    VEN_IDp OLE2.OBJ_TYPE;
    VEN_NAMEp OLE2.OBJ_TYPE;
    ADD1p OLE2.OBJ_TYPE;
    CITYp OLE2.OBJ_TYPE;
    ZIPCODEp OLE2.OBJ_TYPE;
    STATEp OLE2.OBJ_TYPE;
    COUNTRYp OLE2.OBJ_TYPE;
    PHONE1p OLE2.OBJ_TYPE;
    PHONE2p OLE2.OBJ_TYPE;
    MOBILEp OLE2.OBJ_TYPE;
    FAXp OLE2.OBJ_TYPE;
    ECOMMENTSp OLE2.OBJ_TYPE;
    n1 NUMBER;
    V1 VARCHAR2(255);
    V2 VARCHAR2(255);
    V3 VARCHAR2(255);
    V4 VARCHAR2(255);
    V5 VARCHAR2(255);
    V6 VARCHAR2(255);
    V7 VARCHAR2(255);
    V8 VARCHAR2(255);
    V9 VARCHAR2(255);
    V10 VARCHAR2(255);
    V11 VARCHAR2(255);
    V12 VARCHAR2(255);
    BEGIN
    --creating pointers to the activeX's
    VEN_IDp := FORMS_OLE.GET_INTERFACE_POINTER('VEN_IDU');
    VEN_NAMEp := FORMS_OLE.GET_INTERFACE_POINTER('VEN_NAMEU');
    ADD1p := FORMS_OLE.GET_INTERFACE_POINTER('ADD1U');
    CITYp := FORMS_OLE.GET_INTERFACE_POINTER('CITYU');
    ZIPCODEp := FORMS_OLE.GET_INTERFACE_POINTER('ZIPCODEU');
    STATEp := FORMS_OLE.GET_INTERFACE_POINTER('STATEU');
    COUNTRYp := FORMS_OLE.GET_INTERFACE_POINTER('COUNTRYU');
    PHONE1p := FORMS_OLE.GET_INTERFACE_POINTER('PHONE1U');
    PHONE2p := FORMS_OLE.GET_INTERFACE_POINTER('PHONE2U');
    MOBILEp := FORMS_OLE.GET_INTERFACE_POINTER('MOBILEU');
    FAXp := FORMS_OLE.GET_INTERFACE_POINTER('FAXU');
    ECOMMENTSp := FORMS_OLE.GET_INTERFACE_POINTER('ECOMMENTSU');
    --getting new value returned by the ActiveX
    N1 :=Project1_UserControl1.getUrduText(VEN_IDp);
    V2 :=Project1_UserControl1.getUrduText(VEN_NAMEp);
    V3 :=Project1_UserControl1.getUrduText(ADD1p);
    V4 :=Project1_UserControl1.getUrduText(CITYp);
    V5 :=Project1_UserControl1.getUrduText(ZIPCODEp);
    V6 :=Project1_UserControl1.getUrduText(STATEp);
    V7 :=Project1_UserControl1.getUrduText(COUNTRYp);
    V8 :=Project1_UserControl1.getUrduText(PHONE1p);
    V9 :=Project1_UserControl1.getUrduText(PHONE2p);
    V10 :=Project1_UserControl1.getUrduText(MOBILEp);
    V11 :=Project1_UserControl1.getUrduText(FAXp);
    V12 :=Project1_UserControl1.getUrduText(ECOMMENTSp);
    assigning the value to database item for saving
    :VEN_ID := N1;
    :VEN_NAME :=V2;
    :ADD1 := V3;
    :CITY :=V4;
    :ZIPCODE :=V5;
    :STATE :=V6;
    :COUNTRY:=V7;
    :PHONE1 :=V8;
    :PHONE2 :=V9;
    :MOBILE :=V10;
    :FAX :=V11;
    :ECOMMENTS :=V12;
    END;
    -- It save the record successfully
    and the code not working at (post query OR timer expired created at post query)
    It query the data from database and display it in the textitem but I want to
    assign it to ActiveX for Urdu Display
    (the activeX display Urdu for assiged value in button pressed case)
    DECLARE
    VEN_IDp OLE2.OBJ_TYPE;
    VEN_NAMEp OLE2.OBJ_TYPE;
    ADD1p OLE2.OBJ_TYPE;
    CITYp OLE2.OBJ_TYPE;
    ZIPCODEp OLE2.OBJ_TYPE;
    STATEp OLE2.OBJ_TYPE;
    COUNTRYp OLE2.OBJ_TYPE;
    PHONE1p OLE2.OBJ_TYPE;
    PHONE2p OLE2.OBJ_TYPE;
    MOBILEp OLE2.OBJ_TYPE;
    FAXp OLE2.OBJ_TYPE;
    ECOMMENTSp OLE2.OBJ_TYPE;
    V1 VARCHAR2(255);
    V2 VARCHAR2(255);
    V3 VARCHAR2(255);
    V4 VARCHAR2(255);
    V5 VARCHAR2(255);
    V6 VARCHAR2(255);
    V7 VARCHAR2(255);
    V8 VARCHAR2(255);
    V9 VARCHAR2(255);
    V10 VARCHAR2(255);
    V11 VARCHAR2(255);
    V12 VARCHAR2(255);
    str1 VARCHAR2(255);
    str2 VARCHAR2(255);
    str3 VARCHAR2(255);
    str4 VARCHAR2(255);
    str5 VARCHAR2(255);
    str6 VARCHAR2(255);
    str7 VARCHAR2(255);
    str8 VARCHAR2(255);
    str9 VARCHAR2(255);
    str10 VARCHAR2(255);
    str11 VARCHAR2(255);
    str12 VARCHAR2(255);
    BEGIN
    SYNCHRONIZE;
    VEN_IDp := FORMS_OLE.GET_INTERFACE_POINTER('VEN_IDU');
    VEN_NAMEp := FORMS_OLE.GET_INTERFACE_POINTER('VEN_NAMEU');
    ADD1p := FORMS_OLE.GET_INTERFACE_POINTER('ADD1U');
    CITYp := FORMS_OLE.GET_INTERFACE_POINTER('CITYU');
    ZIPCODEp := FORMS_OLE.GET_INTERFACE_POINTER('ZIPCODEU');
    STATEp := FORMS_OLE.GET_INTERFACE_POINTER('STATEU');
    COUNTRYp := FORMS_OLE.GET_INTERFACE_POINTER('COUNTRYU');
    PHONE1p := FORMS_OLE.GET_INTERFACE_POINTER('PHONE1U');
    PHONE2p := FORMS_OLE.GET_INTERFACE_POINTER('PHONE2U');
    MOBILEp := FORMS_OLE.GET_INTERFACE_POINTER('MOBILEU');
    FAXp := FORMS_OLE.GET_INTERFACE_POINTER('FAXU');
    ECOMMENTSp := FORMS_OLE.GET_INTERFACE_POINTER('ECOMMENTSU');
    --function setUrduText(interface oleobj,text in out varchar2) Return varchar2
    This function Displays Urdu when value is assigned in when button pressed event
    str1 :=Project1_UserControl1.setUrduText(VEN_IDp,:VENDOR.VEN_ID);
    str2 :=Project1_UserControl1.setUrduText(VEN_NAMEp,:VENDOR.VEN_NAME);
    str3 :=Project1_UserControl1.setUrduText(ADD1p,:VENDOR.ADD1);
    str4 :=Project1_UserControl1.setUrduText(CITYp,:VENDOR.CITY);
    str5 :=Project1_UserControl1.setUrduText(ZIPCODEp,:VENDOR.ZIPCODE);
    str6 :=Project1_UserControl1.setUrduText(STATEp,:VENDOR.STATE);
    str7 :=Project1_UserControl1.setUrduText(COUNTRYp,:VENDOR.COUNTRY);
    str8 :=Project1_UserControl1.setUrduText(PHONE1p,:VENDOR.PHONE1);
    str9 :=Project1_UserControl1.setUrduText(PHONE2p,:VENDOR.PHONE2);
    str10 :=Project1_UserControl1.setUrduText(MOBILEp,:VENDOR.MOBILE);
    str11 :=Project1_UserControl1.setUrduText(FAXp,:VENDOR.FAX);
    str12 :=Project1_UserControl1.setUrduText
    END;
    I am not getting the point that why the Error OLE object not defined occur in
    display case where as in new record the object is activited on new record
    instane by itself but not in post query
    I am working on application of a library with Urdu data and at last step Iam
    facing the problem above PLs guide me
    Thanks in advance
    null

    Hi,
    - I am using Oracle Forms [32 bit] Versión 5.0.6.23.1 and Oracle 8i Enterprise Edition Release 8.1.7.0.0 as database.
    - The process can be reproduced in a stand alone form. You need to access a table with a RAW column in which the file is stored and put that column in an OLE Container.
    - It works with filetypes .xls, .doc, .pdf but (sometimes, not always) not with filetype .TIF (with an MS Imaging program associated).
    - I have 2 errors:
    - "No se puede encontrar el archivo 'C:\DOCUME~1\CAPEST~1\CONFIG~1\Temp\PKGnnn.TIF' (o uno de sus componentes). Asegúrese de que la ruta y el nombre de archivo son correctos y de que todas las bibliotecas está disponibles." This would be something like "The file 'C:\DOCUME~1\CAPEST~1\CONFIG~1\Temp\PKGnnn.TIF' (or one of its components) can be found. Be sure that the path and the filename are corrects and all the libraries are ready".
    - "No se puede abrir el archivo 'C:\DOCUME~1\CAPEST~1\CONFIG~1\Temp\PKGnnn.TIF'. Compruebe el nombre de archivo y los permisos." ("The file 'C:\DOCUME~1\CAPEST~1\CONFIG~1\Temp\PKGnnn.TIF' can´t be open. Check the filename and the grants."
    I hope this help.
    Edited by: Valla1 on Jan 21, 2009 8:40 AM
    The problem was that the field was mouse navigable.

  • OLE Container

    Hello.
    I am using Developer 2000 and have a problem when trying to show a TIFF file, hosted in a database RAW Column, using an OLE Container.
    The problem is that I receive a message saying that the file "path/temporary file.tif" doesn't exits. I need to try several times in order to get the file visualized.
    Any suggestions will be aprecciated.
    TIA.

    Hi,
    - I am using Oracle Forms [32 bit] Versión 5.0.6.23.1 and Oracle 8i Enterprise Edition Release 8.1.7.0.0 as database.
    - The process can be reproduced in a stand alone form. You need to access a table with a RAW column in which the file is stored and put that column in an OLE Container.
    - It works with filetypes .xls, .doc, .pdf but (sometimes, not always) not with filetype .TIF (with an MS Imaging program associated).
    - I have 2 errors:
    - "No se puede encontrar el archivo 'C:\DOCUME~1\CAPEST~1\CONFIG~1\Temp\PKGnnn.TIF' (o uno de sus componentes). Asegúrese de que la ruta y el nombre de archivo son correctos y de que todas las bibliotecas está disponibles." This would be something like "The file 'C:\DOCUME~1\CAPEST~1\CONFIG~1\Temp\PKGnnn.TIF' (or one of its components) can be found. Be sure that the path and the filename are corrects and all the libraries are ready".
    - "No se puede abrir el archivo 'C:\DOCUME~1\CAPEST~1\CONFIG~1\Temp\PKGnnn.TIF'. Compruebe el nombre de archivo y los permisos." ("The file 'C:\DOCUME~1\CAPEST~1\CONFIG~1\Temp\PKGnnn.TIF' can´t be open. Check the filename and the grants."
    I hope this help.
    Edited by: Valla1 on Jan 21, 2009 8:40 AM
    The problem was that the field was mouse navigable.

  • How to upgrade 6i form to 11g forms which includes OLE container ?

    How to upgrade 6i form to 11g forms which includes OLE container ?

    The migration assistant has no upgrade for that. You need to get a Javabean or PJC:
    http://download.oracle.com/docs/cd/E17904_01/doc.1111/e10394/items.htm#sthref207
    I don't know what kind of OLE files you have, but if it's just Word and Excel, I would you use browser functionality instead and get the doc's via web.show_document. That, however, doesn't give you update possibility.
    You can also use webutil file transfer to get the file to the PC, modify it there, and transfer back to the database.
    Then you still have a problem. Documents uploaded via Forms OLE container are actually modified by Forms before they are stored in the database. So, don't throw away your 6i version yet.
    You need to get all the stored documents out via Forms 6i and save them as a normal document on the file system. Then you can store them back in the database using some other tool, like dbms_lob or webutil's file transfer.
    There are some related discussions on his forum, so just use the Search option, e.g.
    Oracle Forms 10g and OLE Containers, word documents?
    Edited by: InoL on Jul 13, 2011 9:32 AM

  • How can I read a blob created with ole container in forms 6i in forms 10g

    In forms 6i I used ole container to save a document (excel, pdf, word...) into a blob column.
    I want to migrate my application in forms 10g and I read that I have to use webutil_File_transfer.db_to_client and after webutil_host.blocking to see the document.
    In the same blob column I can have multiple type of document. How Can I know wich application to use to open the document ?
    Even if I know the extension of my document I'm enabled to open the file ???

    When you click a C/S OLE object, it is opened with its default application's owner, no ?
    So if the OLE object is opened by Excel, the extension is .xls.
    In any case you have to open the OLE object with its "mother" application if you want to save it as a file, so there is no problem at all to decide with extension to use.
    If you read this article : http://sheikyerbouti.developpez.com/webutil-docs/Webutil_store_edit_docs.htm you can see that the filename is automatically opened with the corresponding application.
    Francois

  • How Can I View PDF Document In OLE Container , Not in Acrobat

    HI,
    I want to store The PDF File (Document) In Oracle Database, and want to view it in OLE Container, Not in Acrobat Reader while Retrieving Record Through Oracle Forms6i.
    Can any one suggest me how to do this job, by steps.
    Thanks.

    Right or control click a PDF file you have on the hard drive then click Get Info.
    Click the pop up menu next to: Open with
    Select Preview
    The click: Change all

  • Create a Word document in a OLE container, save it in a BLOB and display it in a rep!

    When im saving a worddoc like a OLE container in a BLOB and trying to display it in a report the text does not look exactly like it did in word. What i happening whit the doc while saving it into the BLOB and tryning to display it in another OLE container?
    Best Regards
    Fredrik Hammarqvist

    You might want to add a browser layer over your flex
    application and let the browser manage the file types. I personally
    use the HTML component from
    http://drumbeatinsight.com/.

  • Opening pdf file in ole container in forms 6i

    Dear Sir,
    I have am working on Rental property system , i have to save the PDF of original agreement document along with the agreement transaction data entry form, but when i open those agreement in adobe writer there is issue that user can save as its copy to the local machine, to prevent it i m opening that pdf file into the OLE container rather than adobe reader software.
    but the problem i am facing is that, the pdf is opening in the ole container but it is only showing its first page only even if the agreement is of multiple pages, how can navigate to other pages? any idea? the sample code of oracle form is attached herewith which i am using for loading the pdf into ole container.
    waiting for your earliest response.
    Regards

    You need to switch from using VB6 at this point.  As of the latest update, VB6 compiled applications will stop working with Adobe Reader. See the following KB: 
    PDF applications built with VB6 don't work with Acrobat 11.0.07

Maybe you are looking for

  • Aarrrghh - can't find image size and position in captivate 8!

    I was using Captivate 8 and it was under a tab in properties (don't remember the name of the "sub-tab"). Now, I'm using a newly downloaded version and cannot find size and position (x, y, width, length, etc.). This should NOT be so hard Any suggestio

  • Print / Export form data from Visual Composer

    Hello everybody, I want to print data from a visual composer form (export to PDF and print afterwards is another option). I am using CE 7.1 EHP1. Is there any tutorial for that? I only found this one [Exporting Data|https://wiki.sdn.sap.com/wiki/disp

  • BAPI or FM to create General Recipe

    Hi All,    Are there any BAPI's or Funtion modules to create "General Recipe". If yes please provide the details of the same.

  • Does CS5 Merge to HDR crop the images during auto-align?

    Hi,      I am trying to use Merged HDR photos to construct a panoramic view in Autodesk Stitcher.  When I use Photoshop Merge to HDR, the stitcher program gives an error that it is unable to stitch as the file sizes are different. When I use Photomat

  • Pop-up within interactive report

    Hi, I have a report with many fields that contain codes and I would like to use to view the code's definition by clicking the value in the cell and then a pop-up box appears. The definitions are stored in a seperate table to the one in the interactiv