Path of inserted file in OLE container

I used OLE container in the forms. Now I need to extract the path of the inserted file as well
How do i do it?

Hi Krishana,
Please look at .ear file is available under this path.
This is for local DCu2019s path
C:\Documents and Settings\XYZ(UserName)\.dtc\1\DCs\com.compname(Package Name)\demo\mrcf\_comp\gen\default\deploy----Here .ear file is available.
This is for normal WDJAVA Application .ear file.
Here that .ear file is available  in under Project folder only.
U can take .ear file here and then send to BASIS team.theu will deploye the QA and PRO Systems by using SDM
I hope this is help full for you,
Regards
Vijay

Similar Messages

  • 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

  • How to make ole container auto call Word to edit my file?

    I successfully insert a Word file into the ole container. But if I want to init Word to edit my file, I have to double click on the ole container. Is there any command that can auto call Word and pass the control to Word when I retrieve the record?
    Thanks?

    I successfully insert a Word file into the ole container. But if I want to init Word to edit my file, I have to double click on the ole container. Is there any command that can auto call Word and pass the control to Word when I retrieve the record?
    Thanks?

  • Inserting file path/filename

    Hi, all out there,
    I've just strated using Pages '08, and exploring it. But Pages Help and User Guide do not tell me how to insert the file path or filename in the footer, so that it's automatically updated whenever changed. It's not in the Insert menu, and cannot find it in Insert > Function.

    Hi Peggy,
    Though that feature is useful isn't found in 10.4.10. The Devon Technologies WordService ReadMe file has the following:
    Insert:
    Contents Of Path
    Inserts files and folders of the selected path (tilde is expanded)
    and of all its subdirectories (e.g. select the path '~/' and this function
    will insert all contents of your home directory)
    Short Date Cmd-'{'
    Inserts the current date (no text selection necessary)
    Long Date Cmd-'}'
    Inserts the current date (no text selection necessary)
    Short Date & Time Cmd-'_'
    Insert the current date & time (no text selection necessary) Long Date & Time Cmd-'%'
    Insert the current date & time (no text selection necessary) Time
    Insert the current time (no text selection necessary)
    Maybe that's what you're seeing in your services menu perhaps.
    Sincerely,
    RicD

  • TS5376 I did as this article described.  The download was going smoothly until I got this error message "Click OK or enter alternate path to folder in installation package containing the file itunes.msi"   Where can I get "itunes.msi"  ??

    I did as this article described.  The download was going smoothly until I got this error message "Click OK or enter alternate path to folder in installation package containing the file itunes.msi"   Where can I get "itunes.msi"  ??

    (1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    (2) Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
    (3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
    (4) In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
    (5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • MDT 0xc0000098 The windows boot configuration data file does not contain a valid OS entry

    hello,
    i installed WDS+MDT for OS deployment. all was working fine.
    Now i need our branch office to be able to deploy OS as well.
    I installed a new Win 2008R2 server, and installed the WDS service on it.
    When reading about this on the internet i saw i need, on the MDT at our main office, to make a link, under "Advanced Configuration" - "Linked Deployment Shares" to the new WDS server (I used this: http://www.balm.se/?p=115")
    when doing so i entered the UNC path to the new server and then, on the created link, i right click and choose "Replicate now".
    after doing so, i tried booting a laptop just to see if there is any impact, and now, I'm getting this error:
    Windows failed to start. A recent hardware or software change might be the cause. To fix the problem:
    1. insert your windows installation disk and restart your computer
    2. choose your language, and then click "Next"
    3. Click "Repair your computer"
    If you do not have this disc, contact your system administrator or computer manufacturer for assistance.
    File: \Boot\BCD
    Status: 0xc0000098
    Info: The windows Boot Configuration Data file does not contain a valid OS entry.
    I know that usually when I'm getting this message, it means that a previous MDT installation was started and did not finished correctly, and the are some [stuff] on the HD, so i do a partition erase and start over and all working fine.
    Now it's not working. I tried several computer, even new ones, and NADA.
    someone know the cause?
    I know I read something, i don't remember where or how to find it, that when doing the steps I did, it alter\change some ini or xml, or something like this. is that true? any one know on what file do i need to look and see if something is misconfigured?
    thanks a lot for your help

    hello,
    i installed WDS+MDT for OS deployment. all was working fine.
    Now i need our branch office to be able to deploy OS as well.
    I installed a new Win 2008R2 server, and installed the WDS service on it.
    When reading about this on the internet i saw i need, on the MDT at our main office, to make a link, under "Advanced Configuration" - "Linked Deployment Shares" to the new WDS server (I used this: http://www.balm.se/?p=115")
    when doing so i entered the UNC path to the new server and then, on the created link, i right click and choose "Replicate now".
    after doing so, i tried booting a laptop just to see if there is any impact, and now, I'm getting this error:
    Windows failed to start. A recent hardware or software change might be the cause. To fix the problem:
    1. insert your windows installation disk and restart your computer
    2. choose your language, and then click "Next"
    3. Click "Repair your computer"
    If you do not have this disc, contact your system administrator or computer manufacturer for assistance.
    File: \Boot\BCD
    Status: 0xc0000098
    Info: The windows Boot Configuration Data file does not contain a valid OS entry.
    I know that usually when I'm getting this message, it means that a previous MDT installation was started and did not finished correctly, and the are some [stuff] on the HD, so i do a partition erase and start over and all working fine.
    Now it's not working. I tried several computer, even new ones, and NADA.
    someone know the cause?
    I know I read something, i don't remember where or how to find it, that when doing the steps I did, it alter\change some ini or xml, or something like this. is that true? any one know on what file do i need to look and see if something is misconfigured?
    thanks a lot for your help
    For a branch solution I would use DFS(R) rather than linked deploymentshares.
    If there is infrastructure at the remote sites you could use the MDT environment at your main site, and  then at each other site use an existing server or build a new server (VM is available). Create a Deploymentshare on each sever
    and copy the contents of the MDT environment from the first site into this share.  Next you will have to add the WDS service to each site's server. For WDS add the boot image. Of course as Keith noted ensure that you
    have the same versions of MDT and the WAIK/ADK on all systems
    You can use DFS to replicate to all of the other sites, but you will still have to create a deploymentshare, and install WDS at each site. So each site talks to its own WDS server you can use the DefaultGateway parameter instead -
    [Settings]
    Priority=Default, DefaultGateway
    [Default]
    SkipBDDWelcome=YES
    [DefaultGateway]
    192.168.10.1=Bergen
    192.168.20.1=Oslo
    [Bergen]
    DeployRoot=\\MDT-Bergen\DeploymentShare$
    [Oslo]
    DeployRoot=\\MDT-Oslo\DeploymentShare$
    If this post is helpful please click "Mark for answer", thanks! Kind regards

  • 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

  • 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

  • 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.

  • Using RealPlayer control in OLE container to play video

    Hi everyone,
    I am a student and I want to use Oracle OLE control in Oracle forms to implement some multimedia data. I choose RealPlayer G2 control / Window media Player / even Oracle Video Control to do this. But I have one common problem that I can't insert those control object in the OLE container automatically(in the designer).
    How can I have the multimedia control object start when forms runtime?
    Also, how can I store and retrieve data using that multimedia control object?
    Anyone can help me?
    Thx.
    Carol

    Hello,
    I have a similar problem. I want to extract a blob filed with ole from forms with other tools to a file, but the new file then has extra informations about the ole-object. Due to MetaLink there seems to be no possibility to strip these extra bytes off the data.
    Please let me know if you have a solution to this problem.
    Greetings,
    Thorsten.

  • 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.

  • OLE CONTAINER - BLOB

    Hi,
    I have a Blob column in my table. I am displaying the blob column in a OLE Container. To open the object inside the OLE, I just doucle-click on it.
    For example, my blob column has PDF, JPG files, etc... then i double-click, and the PDF or JPG file opens normally.
    But now I don't want to show the OLE Container in the canvas. It will have a button to open the content of the OLE Container.
    What's the commnad to do it? (what command is executed when i was double-clicking?)
    Thx...

    Hi SYSDATE,
    I'm trying to insert pdf via ole_container without success.
    Could you pls send me a copy of this forms?
    Thank you...

  • FRM 40010 after using Ole container

    Hi,
    I am using an OLE container item to store different file types on Oracle 9 DB using Forms 6.0.8.27.0 .
    Whenever I save a document using the ole container, exit the form, I cannot run any other form from my application. I get FRM-40010 :'Cannot read form XXX'
    If I restart the application everything works fine until I use the ole container again to save a file. Then I get the same error.
    It seems that the ole container changes the working directory.
    Forms60_Path is set correctly.
    Inserting a file from the correct working directory and deleting it (just to let the ole container changes the working directory to the one I want) is not a practical solution.
    Thanks in advance for any hints,
    Marco.

    David,
    not sure if this is a bug, because if you don't specify the '.rep' then, because of the search order used, the rep file is used anyway if available in the Reports_Path. One thing that could happen though is that your application now picks up an rdf file (maybe in the Reports60 directory) because the rep file is read later. Please check how many occurences of teh report file you have.
    Repeatingly calling run_product will issue the same job to the Reports runtime over and over. The Reports runtime is not able to handle multiple jobs in parallel, one at a time. This means that if the Reports runtime is busy the Reports execution has to wait if not crahsing. The rdf file - if used - wins soem time in that it gets compiled on te fly before getting executed.
    Frank
    Ps.: Will not deny the chance of a bug, but Forms60 is desupported and you won't get a fix for i

  • Displaying the path of the file selected by a FileChooser in a TextField

    I'm just getting started with Swing. I developed a simple dialog box that has two text fields and two buttons. The objective is to open two files using those two buttons. I used FileChooser to select the files. Now, I want to display the path of the selected files in their corresponding TextFields. I use the following code to do that.
    final FileChooser fc1 = new FileChooser();
    final FileChooser fc2 = new FileChooser();
    final TextField tf1 = new TextField();
    final TextField tf2 = new TextField();
    private void button1ActionPerformed(ActionEvent evt)
                int returnVal1 = fc1.showOpenDialog(labelPhpFile);
                if (returnVal1 == JFileChooser.APPROVE_OPTION)
                    File file1 = fc1.getSelectedFile();
                    String fileName1 = file1.getName();               
                    String filePath1 = file1.getPath();
                    tf1.setText(filePath1);
    private void button2ActionPerformed(ActionEvent evt)
                int returnVal2 = fc2.showOpenDialog(labelPhpFile);
                if (returnVal2 == JFileChooser.APPROVE_OPTION)
                    File file2 = fc2.getSelectedFile();
                    String fileName2 = file2.getName();               
                    String filePath2 = file2.getPath();
                    tf2.setText(filePath2);
    }The above code works fine only for the first file. Mean the path of the file selected using fc1 is getting displayed in the tf1 TextField. But, the file selected using fc2 is not getting displayed tf2 TextField. Please help me.
    Thank you :)

    h1. The Ubiquitous Newbie Tips
    * DON'T SHOUT!!!
    * Homework dumps will be flamed mercilessly.
    * Have a quick scan through the [Forum FAQ's|http://wikis.sun.com/display/SunForums/Forums.sun.com+FAQ].
    h5. Ask a good question
    * Don't forget to actually ask a question. No, The subject line doesn't count.
    * Ask once
        - Don't Crosspost!
        - Two people answering one question independantly is a waste of there time.
    * Don't even talk to me until you've:
        (a) [googled it|http://www.google.com.au/] and
        (b) looked it up in [Sun's Java Tutorials|http://java.sun.com/docs/books/tutorial/] and
        (c) read the relevant section of the [API Docs|http://java.sun.com/javase/6/docs/api/index-files/index-1.html] and maybe even
        (d) referred to the JLS (for "advanced" questions).
    * [Good questions|http://www.catb.org/~esr/faqs/smart-questions.html#intro] get better Answers. It's a fact. Trust me on this one.
        - Lots of regulars on these forums simply don't read badly written questions. It's just too frustrating.
          - FFS spare us the SMS and L33t speak! Pull your pants up, and get a hair cut!
        - Often you discover your own mistake whilst forming a "Good question".
        - Many of the regulars on these forums will bend over backwards to help with a "Good question",
          especially to a nuggetty problem, because they're interested in the answer.
    * Improve your chances of getting laid tonight by writing an SSCCE
        - For you normal people, That's a: Short Self-Contained Compilable Example.
        - Short is sweet: No-one wants to wade through 5000 lines to find your syntax errors!
        - Often you discover your own mistake whilst writing an SSCCE.
        - Solving your own problem yields a sense of accomplishment ;-)
    h5. Formatting Matters
    * Post your code between a pair of {code} tags
        - That is: {code} ... your code goes here ... {code}
        - This makes your code easier to read by preserving whitespace and highlighting java syntax.
        - Copy&paste your source code directly from your editor. The forum editor basically sucks.
        - The forums tabwidth is 8, as per [the java coding conventions|http://java.sun.com/docs/codeconv/].
          - Indents will go jagged if your tabwidth!=8 and you've mixed tabs and spaces.
          - Lines longer than 80 characters should be wrapped.
          - Proper indentation illustrates program logic.
    * Post your error messages between a pair of {code} tags:
        - That is: {code} ... errors here ... {code}
        - To make it easier for us to find, Mark the erroneous line(s) in your source-code. For example:
            System.out.println("Your momma!); // <<<< ERROR 1
        - Note that error messages are rendered basically useless if the code has been
          modified AT ALL since the error message was produced.
        - Here's [How to read a stacktrace|http://www.0xcafefeed.com/2004/06/of-thread-dumps-and-stack-traces/].
    * The forum editor has a "Preview" pane. Use it.
        - If you're new around here you'll probably find the "Rich Text" view is easier to use.
        - WARNING: Swapping from "Plain Text" view to "Rich Text" scrambles the markup!
        - To see how a posted "special effect" is done, click reply then click the quote button.
    If you (the newbie) have covered these bases *you deserve, and can therefore expect, GOOD answers!*
    h1. The pledge!
    We the New To Java regulars do hereby pledge to refrain from flaming anybody, no matter how gumbyish the question, if the OP has demonstrably tried to cover these bases. The rest are fair game.

  • 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

Maybe you are looking for