OLE container property in Forms 6i

Hi,
I'm creating forms through Designer. By default the OLE container In place activation property is set to Yes. I want that to be set to No. I don't see any way for property setting of OLE through Designer. Can I use SET_ITEM_PROPERTY built-in? Please let me know!
Thanks in advance
Sarma

The best location to find anything related to forms & reports id the help itself.
U wont find many books in market on forms & reports,the reason is ,the help is so good(thanks to Oracle Corp) that we dont need any external material.
-Nilesh

Similar Messages

  • OLE container property in Forms 6i through Designer

    Hi,
    I'm creating forms through Designer. By default the OLE container In place activation property is set to Yes. I want that to be set to No. I don't see any way for property setting of OLE through Designer. Can I use SET_ITEM_PROPERTY built-in? Please let me know!
    Thanks in advance
    Sarma

    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

  • 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

  • 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

  • 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

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

  • 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

  • Forms 6i : Ole Container : Locking problem

    We have a form in which user can attach all sorts of documents that are then saved in the database.
    Once in a while we have a locking problem; when 2 users try to open the same document, the second one first gets a 'Could not reserve record (2 tries). Keep trying?'. When clicking 'No', the next error message is 'Frm-40501 : unable to reserve record for update or delete', and the form cannot be used anymore. He keeps complaining about the reserved record.
    I've been looking into this problem but cannot seem to find a lot of help.
    Does anyone have an idea how to solve this locking problem?
    I have tried the following things:
    * setting the block to locking mode 'Delayed' => we ended up having duplicate records.
    * Changing properties of the ole-container (In Place Activation, Inside Out support, ...).
    Forms version is 6.0.8.13.0, database 8.0.6.0.0.
    Any help is appreciated.

    that seems to be a normal locking problem. Do you have tried to work with an ON-LOCK trigger ? (e.g. first to see, when locking will occur, second for implementing an own locking-behaviour, maybe with a SELECT for UPDATE)
    Or do you think, that there is something special with your OLE-programming ?
    Gerd

  • Adobe form Error "Memory protection fault in OLE container control"

    Hi,
       I am getting the error "Memory protection fault in OLE container control" while trying to open the layout tab of adobe forms.
      I am getting this error for all the adobe forms.Please let me know the solution.
    Thanks in advance.
    Thanks,
    Nuthan.

    I can reproduce this error consistently.. This is how: Install Microsoft SQL Server 2008.
    As soon as I remove SQL 2008 the error went away. Adobe LiveCycle Designer was invoked via OLE2 interface. Apparently SQL Server 2008 (as in my case or some other applications in your case) modified the way OLE2 behaves and therefore causes this error.

  • 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

  • Forms OLE Container

    this has reference to my previous question that we had some problems in forms 6.0
    in our ongoing project we have form with OLE Container which is used to store the signature
    my problem is at runtime some times this form may work some times it exits without prompting any message. what could be the reason it is becouse the ole container accupies more memory or some thing else
    any suggetion or comment on this
    Regards
    Jyothi
    null

    I have had similar problems in the past with activeX controls. At design time I insert the activeX object in the container, but it is not there at run time. I don't know if this is your exact problem. But I found it was a bug with Forms 6 Patch 7. I backed out to Patch 6 and it fixed my problem.

  • Making use of 'obsolete' OLE container in Forms10g

    I have a column in a database table of type LONG RAW . This column was represented as an OLE Container - which in 10g is obsolete - in a form (Forms 6i). Trying to compile this form to Forms10g , I receive an error FRM-30454.
    Is it possible to retain the form as it is , by simply change a property , ....
    Anyway , What are the possible solutions for this kind of problem?
    Thanks , Simon

    What is the role of 'Importing OLE Library Interfaces' which is a menu selection found on Forms Builder menu->Program->Import OLE Library Interfaces?
    How is there the capability to import for example 'Word.Document' OLE classes as OLE containers are obsolete?
    Is there an example on how to use them...?
    I didn't find anything -only directions on how to import- in the on-line help of Forms 10g!!!
    Thanks ,
    Simon

  • OLE Containers in Oracle Forms 6i

    Hello,
    We have an Oracle Forms 6i application which stores a large number of documents in LONG RAW columns in Oracle 10g using serialized OLE Container objects. Is there a way to automate the extraction of those documents (PDF and DOC) from the database to the file system?
    Edited by: rpetrk1 on Jul 11, 2012 5:03 PM

    If all you want to do is extract the documents from the Long Raw columns, you can use UTL_FILE to extract the binary content to the file system. You would have to loop through the records in your table to extract each file. Take a look at article Export BLOB Contents Using UTL_FILE that I googled. Granted, this article discusses exporting a BLOB not a Long Raw, but the concept is the same and you should be able to modify the code sample in the article to work with your Long Raw columns.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • 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

Maybe you are looking for

  • Save Form in Acrobat 9 Pro Without Distribution?

    I just want to save a form.  I don't want to distribute it or collect responses.  Help! How do you just save the form so that anyone could use it and save it? 

  • Stablish conditions between a data field in a query

    Hello all, Firstly, I´ve got an infoCube "A" where every record has a field called "Init date" (date field) and another field called "finish date" In a query (that retrieves data for the infoCube A) there is a pop up with a date that  user must enter

  • Report Service 10g sometimes hang, sometimes not

    Hi. We have a big problem. We installed AS 10g R2 on a Windows 2k3 Server. The AS itself is running fine, the form application is also running fine. But when we try to create a report from form, than sometimes the form hangs (look like do nothing and

  • Open all files in folder using Javascript

    Let's say I want to open all the files in a particular folder, without knowing the names of those files. Any ideas? Thanks!

  • Confused about singletons in servlets

    Hello, A DatabaseManager object is to be created within my RegistrationServlet. I wish to implement this DatabaseManager class as a singleton. I understand how the first client that invokes the RegistrationServlet will be able to create an instance o