OLE Container and Images

i am just loading images into the DatabBase... when running the form, the Ole Container displays the icon and the name of the image, and the image just opens if i double-click the container... can i just display the images instead of that?

Look at the "OLE Activation Style" and "OLE Tenant Aspect" properties.
You could also use an "Image" item type instead of an OLE container.

Similar Messages

  • 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

  • Multi Page Doc in OLE Container

    I have a multipage Word Document in an OLE container and I want to be able to scroll through the pages without activating the container by pressing buttons for the next, previous, first and last pages along with knowing that I am on say page 5 of 25 pages. Has anyone ever done that and have and example?

    You could let this piece of code run over all pages:
    doc1 = app.documents[0];
    doc2 = app.documents[1];
    doc1.pages[0].pageItems.everyItem().select(SelectionOptions.ADD_TO);
    app.copy ();
    app.activeDocument = doc2;
    app.pasteInPlace ();
    -- this will do what you asked, but will it do what you intended?
    You cannot select objects across spreads. (The other day someone suggested using an XML tagged file, and apparently you can with that. I wouldn't know if it's applicable for your situation.)
    So this code does what one can do manually: select all, copy, activate document 2, paste. However, as you will find out, threaded text frames will not thread anymore to the next.
    It would be easier to duplicate each spread (not "page" -- it's not an option [**]) to your other document -- then you would not have to worry about the number of pages. It does add other responsibilies, though (styles, swatches, document size; all of these should match across the docs). [*]
    An other option could be to place the document's pages as images into the other.
    [* Post-Edit] That wouldn't preserve your text threads either, by the way.
    [** Post-Edit #2] Well, whaddoyouknow? You can duplicate pages as well from one document to another, as long as you reference a page in the other doc:
    doc1 = app.documents[0];
    doc2 = app.documents[1];
    doc1.pages[2].duplicate (LocationOptions.AFTER, doc2.pages[0]);
    The oblique Help confused things a bit: you can duplicate a Spread to another document immediately (I didn't try that), but for a Page it sez "another page or Spread" -- without mentioning that that one can be in another doc.

  • 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

  • ActiveX Control+OLE Container+ Bean Area. Help Required

    I am a beginner and using forms 6i, where can i find detailed information about ActiveX Control,OLE Container and Bean Area.

    Hello,
    Forms 6i is a very old version and is unsupported for a long time. Are you forced to use this version ? If you are a beginner, why don't you start with the current version ?
    Francois

  • I would like to create a custom datagridview column containing text images and MS Word OLE objects

    I am an old time LabView programmer going back to 2.0.  But moved on with my career several years ago.  But here I am back attempting a custom column in dataviewgrid control.  .NET is hard.  My goal is to read in an MS Word document and parse it out to a custom column.  The column will contain regular old text, images and MS Word objects, sometimes called OLE objects.
    There is scant information on creating .NET and labview when it comes to form manipulation.  I have stuggled through the learning curve and now able to insert a text box column into a datagridview and add it to the form container and actually size it to the datagridview control.  I've added a menu, but still figuring out the layout class.  Did I say .NET is hard?
    I know there must be a custom column created and even found a C# example, sorta.  Trouble is the example uses easy stuff like override and private.  It will take me another 3 weeks for that, darnit I'm getting lazy.
    Does anybody out there have some example of a custom column in the datagridview?
    If you ask to post code.  I have nothing I would be proud to show.
    The sorta go by: http://www.codeproject.com/Articles/31823/RichTextBox-Cell-in-a-DataGridView

    This is what the progress looks like so far.  I broke the tasks down in sub VIs.  One to create a custom cell so I can add it to the column CellTemplate.  The other to add the column to the control.  My limited knowledge of .NET and the implementation in LV causes me to question the value of LV .NET.
    The coding to create a TextBoxCell override with ImageCell CellTemplate.  Honestly I'm guessing what to do, because the LV documentation on inheritance and overriding is poor at best.
    The column coding to add the cell to the custom column.
    Probe 19 always comes up with an error.  The error is the standard 1172 with no clue what is causing it.  The "index" will work on 0 or 1, I suspect bc the two cell types are 0 and 1 but nothing tells me that, just guessing.

  • I have just started to use Muse for our design agency and learning how to build ourselves a new site, I have manged to create a basic lightbox which contains sliding images, what I need to do now is have a pop up window which goes into detail about the pr

    I have just started to use Muse for our design agency and learning how to build ourselves a new site, I have managed to create a basic lightbox which contains sliding images, what I need to do now is have a pop up window which goes into detail about the projects, what I would like is a piece of text  or icon that when you roll over it and then click a separate window pops up with additional information in, once finished reading the info you can then click to close the box, any advice on how to do this?

    The best way to do what you're asking is with the Composition widget. Start with the Tooltip preset, which, by default shows the info on rollover. You can change the option to show on click, which is what you're after. You can also add the close button or have the info disappear on rollout.
    David

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

  • Main Wrapper, Container and background-image repeat problem-and Footer :-)

    Hi everyone,
    First off, i tried almost every idea i could get to solve this on my own but now im...aaa...
    Well, the problem is i have a main wrapper with a background image repeat. A header,menu, body container - which has a left column and right column. I want that main wrapper,body container and both of the columns to grow auto according to content. I tried the height:100%. When i float the columns the text from left column spills over on to the footer. The left column also does not autogrow towards the footer?! I was able to set the footer at the bottom which i want it to remain at the bottom of the main wrapper, but the main wrapper and the columns do not grow automatically...I guess it has something to do with float and the clear properties but what???
    body{
    margin: 0;
    padding: 0;
    font-weight: normal;
    font-style: normal;
    font-size: 11px;
    font-family: verdana;
    text-align: center;
    background:url(back_index3.png) repeat-x scroll 0 0 #E4E4E4;
    #main_wrapper {
    width: 959px;
    margin:0 auto;
    margin-top:80px;
    background:url(backslice.png) repeat-y;
    height:auto;
    min-height:800px;
    #header {
    width: 959px;
    margin-left: auto;
    margin-right: auto;
    height:119px;
    background:red;
    padding-top: 0px;
    padding-bottom: 0px;
    #topmenu {
    background-color:#blue;
    height:30px;
    margin:0px;
    width: 959px;
    margin-left: auto;
    margin-right: auto;
    #body_container {
    height:100%;
    width: 949px;
    margin: 0 auto;
    #content {
    float:left;
    width: 645px;
    background:yellow;
    border-right:1px solid #ffffff;
    padding:10px;
    height:100%;
    text-align:left;
    #sidebar {
    float:left;
    width: 283px;
    background:#234234;
    height:100%;
    #footer {
    clear:both;
    height:200px;
    background-color: #686768;
    margin:0 auto;
    border-top: 1px solid #F6F6F6;
    text-align:center;
    width: 100%;
    <html xmlns="">
    <head>
    <title>title</title>
    <link rel="stylesheet" type="text/css" href="3css.css" />
    <meta http-equiv="content-type" content="text/html" />
    </head>
    <body>
    <div id="main_wrapper">
         <div id="header">
          <span id="header_logo">title</span>
         </div>
         <div id="topmenu">
         menu
         </div>
         <div id="body_container">
          <div id="content">
    content to be added
          </div>
          <div id="sidebar">
          hallow2
          </div>
         </div>
    </div>
    <div id="footer">
    asd
    </div>
    </body>
    </html>
    Thanks in advance if somebody can help me out here.
    you can see an image of the problem in the attachement down thr... thnx

    <html xmlns="">
    <head>
    <title>title</title>
    <link rel="stylesheet" type="text/css" href="3css.css" />
    <meta http-equiv="content-type" content="text/html" />
    </head>
    <body>
    <div id="main_wrapper">
         <div id="header">
          <span id="header_logo">title</span>
         </div>
         <div id="topmenu">
         menu
         </div>
         <div id="body_container">
          <div id="content">
    content to be added
          </div>
          <div id="sidebar">
          hallow2
          </div>
         </div>
    </div>
    <br clear="all" />
    <div id="footer">
    asd
    </div>
    </body>
    </html>
    Hope this will work well

  • Box containing text and image (fit frame to contents).

    Hi all,
    The best way I can describe what I am trying to achieve is to show you a picture.
    So essentially, I'm looking to create a grey box, containing some text with an image floating to the right hand side. I want about 2mm space (padding) inside the grey box so no content goes right to the edge and I want the text to wrap around the image. The bit I'm finding tricky is when I go to use the 'Fit frame to content' option. I'm trying to remove the space indicated by the red arrows but if I anchor the image inside the text frame, the grey box shrinks to the height of the text and the image overflows.
    This would be incredibly simple to achieve on the web, am I doing something wrong?
    Any help/direction would be greatly appreciated.

    Sorry, been out for an hour.
    I understood that you want to have some variable height text frame (the gray box), and that this box should reduce in height to fit the text contained therein, but not  less than necessary for the bottom to be 2mm below the bottom edge of the variable height image (which I'm presuming is anchored to the first line of text in the frame) in a case where there is not sufficient text for fit frame to content to avoide making the frame shorter than the bottom of the image.
    I believe this could be scripted, but that will still require you to run the script. You should ask over in InDesign Scripting
    As far as a container that holds both text and image frames, yes, but only if you "paste into" a new frame after creating the two separately and grouping, which probably is not what you have in mind.

  • What has happened to the iPad 2 finger select and drag technique? Since upgrading to iOS7 it does not work? I used this all the time to select multple images, approx 75  from an SD card containing 1000  images. Its painful indvidually selecting the images

    What has happened to the iPad 2 finger select and drag technique?
    Since upgrading to iOS7 it does not work?
    I used this all the time to select multple images, approx 75  from an SD card containing 1000  images. Its painful indvidually selecting the images

    What would you like us to tell you? If it doesn't work, there is nothing that we users can do about it.
    Please submit your feature request to Apple at this link: http://www.apple.com/feedback

  • Container and codec for images

    hello guys
    my question is
    has images container and codec like videos?
    can you give m some example of images container and codec?
    another question
    png, jpeg, gif etc are codec or container?
    i have a lot of confusion in my head U_U

    Well, if one wants to get highly technical, those Still Images do contain CODEC's, or sorts. Most are compressed formats, and Encoding was required to write them. Then, one does Decode the information via the file's header, but with Stills, it differs from Video (and most Audio), in that the information to Decode is constant, and is not anywhere near as variable, as with Video. For instance, if one does not have the capability to Decode JPEG2000 (usually via a plug-in), they cannot Open one on that system. Same with writing the file - if they do not have the JPEG2000 capability, that option will not be listed. So yes, one could extend the term CODEC to cover the Still Image formats, but that is an uncommon application of the term CODEC. Here, it really gets down to semantics and common usage.
    For Audio, which is not muxed, things are still pretty simple. WAV (the format), will most likely have PCM, or LPCM (similar, but with some differences), and the file will be Uncompressed. MP3, will only have the MPEG, with certain, limited parameters. AC3 (a form of MPEG), can have some variations, but the most common is the Dolby Digital MPEG CODEC, and is often referred to as DD AC3. That can be a 2-channel (most often seen as stereo, but not always), or 6-channel (most often seen as 5.1 SS, but not always).
    When one muxes the Audio & Video Streams into one "wrapper," or format, things can get a bit more involved, though the Audion Stream is usually much more limited.
    Some Video CODEC's can appear in different wrappers, but when the standards are broken, many programs can experience issues, as they are hard-coded to look for a particular set of Video CODEC's, in particular formats. Recently, some camera mfgrs. have decided to wrap the H.264 CODEC into an AVI wrapper. Programs, like Premiere Pro are not used to looking for H.264 in the AVI wrapper. It looks for H.264 in MOV, MTS, MP4, and a few more, wrappers.
    Then, one gets to AVCHD, with IS a sub-set of H.264, but all H.264 material is NOT AVCHD. It is particular.
    To confuse things, even more, some camera mfgrs. have gone back to an older CODEC, MJPEG (Motion JPEG), but have tweaked that for their specific uses. That means that one might have an MJPEG CODEC installed on the system, but it will not work in their editng program, as camera mfgr. ____ tweaked the CODEC, that they use. In that case, it is best to install the camera mfgr's. specific version of MJPEG.
    Keeping 100% current on Video CODEC's is an impossible task, as new ones, or tweaked versions of older ones, are introduced about every six mos, and some of those are NOT placed into the common wrappers. Knowing the general concepts, and a few of the most common Video CODEC's, is as good as it gets.
    Hope that helps,
    Hunt

  • I have a SharePoint list, that list contains text attachments and image attachments.

    Hi All,
    i have a SharePoint list, that list contains text attachments and image attachments.
    Now, i want to retrive only image attachments from that list.
    here my doubt is, how to check is it image attachment or text attachments
    foreach(var attachment in attachments)
    //what i have to write here
    Thanks in advance!

    Hi,
    While looping for an attachments . Check for attachment extension with (.jpg,png,etc..,).then you can do whatever you want
    SPListItem myListItem = list.GetItemById(1);
    foreach (String attachmentname in myListItem.Attachments)
    //Check for extension
    Please mark as an answer/helpful , if is useful to you.
    Mahesh

  • 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

  • HT1338 my macbook crashes and cant send error report, when i try, it says "error report failed"

    My macbook crashes and when I start it again, there's a crash report and I click on send to apple, after a minute or so it says failed to send to apple. It has happened many times and I think it's getting worse since I can't send any reports. What sh

  • Question,Get data from ALV to internal table

    Hi, friends I currently need to get the data displayed on ALV. But the original internal table is local. It means it has already been deleted. Do you know which method I shoud use? After that, I will move the records to other internal table. 3Q Mingh

  • All PDF files became corrupted

    All of my PDF files on my Windows Server 2008.  When I try to open them I get the following error "Adobe Reader could not open 'filename' because it is either not a supported file type or because the file has been damaged (for example, it was sent as

  • Virus in ipod??

    I just got my new 30gb ipod with video and have yet to set it up. Actually tonight was the planned night. A co-worker of mine just informed me that some of the new ipods have a virus in the software that will affect windows systems. How can I tell if

  • How the storage unit get populated automatically in TO during GR?

    Hi, I have a question to ask you with regards to SU in WM. I perform a goods receipt against a production order in MIGO. and I notice the Transfer Requirement get created and the Transfer Order also get created automatically in the background. My que