How to show a background image in the Forms 6i MDI window?

Hello,
We are using Oracle Forms 6i Release 2 Patch 18 on Windows XP in client/server environment (not web server).
Is there any way to show a background image in the MDI root window without using DLL injection to subclass the MDI root window procedure.
Kurt

Please try this 
Public Function Decompress(ByVal arr As Byte()) As Byte()
        Dim s As Byte()
        Dim notCompressed As Boolean
        notCompressed = False
        Dim MS As System.IO.MemoryStream
        MS = New System.IO.MemoryStream()
        MS.Write(arr, 0, arr.Length)
        MS.Position = 0
        Dim stream As System.IO.Compression.GZipStream
        stream = New System.IO.Compression.GZipStream(MS, System.IO.Compression.CompressionMode.Decompress)
        Dim temp As System.IO.MemoryStream
        temp = New System.IO.MemoryStream()
        Dim buffer As Byte() = New Byte(4096) {}
        While (True)
            Try
                Dim read As Integer
                read = stream.Read(buffer, 0, buffer.Length)
                If (read <= 0) Then
                    Exit While
                Else
                    temp.Write(buffer, 0, buffer.Length)
                End If
            Catch ex As Exception
                notCompressed = True
                Exit While
            End Try
        End While
        If (notCompressed = True) Then
            stream.Close()
            Return temp.ToArray()
        Else
            Return temp.ToArray()
        End If
    End Function
Thanks & Regards Manoj

Similar Messages

  • How do I get an image in the Encore CS6 monitor window? Audio's fine.

    First time Encore user. Running its CS6 version alongside PP CC 2014. Exported media as mpg2-dvd from PP, imported as timeline with the .wav into Encore as suggested here: Adobe TV
    I get sound but no image in the monitor window. The m2v file plays back in VLC, but no image in QT, and attempted playback gets me spinning beach balls.
    Thoughts? Just need to burn a DVD for client delivery tomorrow. Yes, a DVD.
    I'm running osx 10.9.5, 2.7GHz i7/16GB RAM MBP with a couple of SSDs in it, and a Thunderbolt RAID 1 for media.
    Thanks for any leads.

    Thanks for your reply. I believe the purpose of Photo Stream on Apple TV is quite different, obviously you can use Photo Stream as a screen saver, but since Apple TV doesn't have a hard drive you can't download your Photo Stream pictures onto the device. This creates a problem when you have an Apple TV at two different locations (Home sharing wouldn't work), so I want to know if I can move a picture back into PhotoStream after 30 days and the system will allow it. Please help! Thanks!

  • How to show a compressed image in the report?

    Hi
    I have created a new report.what i do in application is i  compress the image and save it in database.now i need to retrieve the compressed image and display in the report. I have used the following code to decompress the binary data save in the image.I
    dont know after that what should i do. Please help me to show the picture in SSRS Report. I need to show picture in many reports.one of my doubt is how to call this function in SSRS Report. The function accepts input as byte but in database the column in varbinary.
    should i convert the input type of function to varbinary instead of byte array? Please help me.
    Public Function Decompress(ByVal arr As Byte()) As Byte()
    Dim notCompressed As Boolean
    notCompressed = False
    Dim MS As MemoryStream
    MS = New MemoryStream()
    MS.Write(arr, 0, arr.Length)
    MS.Position = 0
    Dim stream As GZipStream
    stream = New GZipStream(MS, CompressionMode.Decompress)
    Dim temp As MemoryStream
    temp = New MemoryStream()
    Dim buffer As Byte() = New Byte(4096) {}
    While (True)
    Try
    Dim read As Integer
    read = stream.Read(buffer, 0, buffer.Length)
    If (read <= 0) Then
    Exit While
    Else
    temp.Write(buffer, 0, buffer.Length)
    End If
    Catch ex As Exception
    notCompressed = True
    Exit While
    End Try
    End While
    If (notCompressed = True) Then
    stream.Close()
    Return temp.ToArray()
    Else
    Return temp.ToArray()
    End If
    End Function
    Thanks & Regards Manoj

    Please try this 
    Public Function Decompress(ByVal arr As Byte()) As Byte()
            Dim s As Byte()
            Dim notCompressed As Boolean
            notCompressed = False
            Dim MS As System.IO.MemoryStream
            MS = New System.IO.MemoryStream()
            MS.Write(arr, 0, arr.Length)
            MS.Position = 0
            Dim stream As System.IO.Compression.GZipStream
            stream = New System.IO.Compression.GZipStream(MS, System.IO.Compression.CompressionMode.Decompress)
            Dim temp As System.IO.MemoryStream
            temp = New System.IO.MemoryStream()
            Dim buffer As Byte() = New Byte(4096) {}
            While (True)
                Try
                    Dim read As Integer
                    read = stream.Read(buffer, 0, buffer.Length)
                    If (read <= 0) Then
                        Exit While
                    Else
                        temp.Write(buffer, 0, buffer.Length)
                    End If
                Catch ex As Exception
                    notCompressed = True
                    Exit While
                End Try
            End While
            If (notCompressed = True) Then
                stream.Close()
                Return temp.ToArray()
            Else
                Return temp.ToArray()
            End If
        End Function
    Thanks & Regards Manoj

  • How to replace forms runtime mdi window icon with my own icon

    hi,
    I have an application developed with oracle 9i forms but my problem is that I want to replace the forms runtime mdi window icon with my own icon.
    please any help will be highly appreciated.
    thanks.

    If using seperateFrame=TRUE then you can do
    if WEBUTIL_SEPARATEFRAME.IsSeparateFrame then
    WEBUTIL_SEPARATEFRAME.SetIcon('my_logo.gif');
    end if;
    Regards,
    Werner

  • How to repeat a background image to cover the height of the page?

    Hi
    I have a page with an image alinged to the top in a table and
    I have a pattern in the background of the cell in the same table
    I need that background of the cell to repeat it self along
    the height of the page, so when someone views the page at a higher
    resolution, the background image will repeat it self to cover the
    extra space.
    I've tried setting the height of the table to percentage, but
    the table doesn't cover the height of the page.
    I could also make the table really long so when viewed at
    higher resolution there wont be any blank space at the bottom, but
    this makes an unnecessary and long scroll when viewed at lower
    resolution.
    Someone told me to use css but i have now idea how to
    implement that.

    make sure you have set your page margins to 0 if you don't
    want the default
    margin top left. Cut and paste the following into the head of
    your document
    just before the closing </head> tag.
    then if you want to repeat a background image in a cell, you
    need to create
    a rule to do this:
    .cellback {
    /*this repeats the image across the page horizontally*/
    /* if you want to repeat down the page, then change to
    repeat-y */
    background: url(pics/whatever.gif) repeat-x;
    you can combine this background image rule with the other
    margin setting so
    you have:
    <style type="text/css">
    <!--
    body {
    margin: 0;
    padding:0;
    .cellback {
    background: url(pics/whatever.gif) repeat-x;
    -->
    </style>
    You then apply to the class to your cell
    <td clas="cellback">
    Examples here:
    http://www.dreamweaverresources.com/tutorials/pagebackgrounds/cellbackground.htm
    this shows how to use a background image for your entire
    page:
    http://www.dreamweaverresources.com/tutorials/pagebackgrounds/examplehor.htm
    Nadia
    Adobe� Community Expert : Dreamweaver
    http://www.csstemplates.com.au
    - CSS Templates | Free Templates
    http://www.perrelink.com.au
    - Web Dev
    http://www.DreamweaverResources.com
    - Dropdown Menu Templates|Tutorials
    http://www.adobe.com/devnet/dreamweaver/css.html
    > I have a page with an image alinged to the top in a
    table and I have a
    > pattern
    > in the background of the cell in the same table
    > I need that background of the cell to repeat it self
    along the height of
    > the
    > page, so when someone views the page at a higher
    resolution, the
    > background
    > image will repeat it self to cover the extra space.

  • How do you set a image in the background of a JTextfield?

    How do you set a image in the background of a JTextfield? Any ideas?

    You can't thats why it is called textfield!!!
    Take a look at JScrollPane API for this

  • How do you set an image into the background of a JPanel or JFrame?

    How do you set an image into the background of a JPanel or JFrame?

    Something like this, Ive thrown in an ImageIcon on a
    button too for good measure.
    import java.awt.*;
    import javax.swing.*;
    public class JFrameImage extends JFrame {
    public JFrameImage() {
    Container c    = getContentPane();
    JPanel panel = new JPanel(){
                 public void paintComponent(Graphics g)     {
    ImageIcon img = new
    = new ImageIcon("background.jpg");
                      g.drawImage(img.getImage(), 0, 0, null);
                      super.paintComponent(g);
            panel.setOpaque(false);
    ImageIcon icon = new ImageIcon("onButton.jpg");
    JButton button = new JButton(icon);
    panel.add(button);
    c.add(panel);
    public static void main(String[] args) {
    JFrameImage frame = new JFrameImage();
    frame.setSize(200,200);
    frame.setVisible(true);
    Going totally fancy pants
    ImageIcon bigImage = new ImageIcon(bgImage.getImage().getScaledInstance(getWidth(), getHeight(),Image.SCALE_REPLICATE));
    g.drawImage(bigImage.getImage(), 0, 0, this); Will scale the image to the size of the panel
    whereas
    for (int y = 0; y  < getHeight(); y = y + image.getHeight(null))
    for (int x = 0; x< getWidth(); x = x + image.getWidth(null))
    g.drawImage(image, x, y, this); Will give a tiled effect
    Try tiling with an animated gif and bring your processor to a standstill.

  • Customizing Slideshows - how do I add an image in the text box that only shows up for a specific ima

    Customizing Slideshows - how do I add an image in the text box that only shows up for a specific image and not in every text box?

    Can you maybe provide a screen shot to further explain your question?
    Julia

  • In the new Pages, how does one send an image to the background (and make it selectable)?

    How does one send an image to the background in the new Pages and how does one make it selectable?

    Also why don't TEXT to Speech short cuts established in system preferences work in the new Pages?
    I am confused (and not completely happy)

  • How is it possible to adjust the background images and the text in Mail?

    How is it possible to adjust the background images and the text in Mail?

    Here's the solution I used to solve the same problem. If you're not comfortable editing the source files, this might be more than you want to take on--but I've done it to several files with no ill effects. You can follow the instructions on this page and the referenced original post from (he includes a link on the page). Good luck! He's got some great tips on some of his other pages.
    http://photo.rwboyer.com/2010/03/15/aperture-3-book-theme-trick/
    A warning about editing the Master pages--it only edits them in that book--it doesn't update the theme. So if you go to create another book with those same layouts, you'll have to duplicate the book and replace all the images. An alternative would be to create a "clean" book with no photos in it and then just use that as a starting point each time.

  • How do they get background image to span browser width?

    At http://www.archerschoicemedia.com, they have a background image at the top that spans the entire browser width. How is that achieved? What if image isn't as wide as screen resolution, won't it just repeat?
    All help with adding a background image that does this - spans the entire browser width - is what I'm after.
    Thanks!

    What if image isn't as wide as screen resolution, won't it just repeat?
    No.
    The CSS reads
    body {
    font: 100% Verdana, Arial, Helvetica, sans-serif;
            background:url(../i/backgroundvid.jpg);
            background-position:center top;
            background-repeat:no-repeat;
            background-color:#000000;   
    margin: 0; /* it's good practice to zero the margin and padding of the body element to account for differing browser defaults */
    padding: 0;
    text-align: center; /* this centers the container in IE 5* browsers. The text is then set to the left aligned default in the #container selector */
    overflow-x: hidden;
    overflow-y: auto;
    So, the CSS is set to horizontally center the background image and not repeat it.
    Plus, on screens wider than 1689px wide, the background color of black (#000000) shows through at the edges creating the impression that the background is endless.

  • How to create a background image for each item in a List object

    Hello.
    I am trying to create a background image that displays whenever a user posts something to a list.  For example when a user posts text it would appear in a list.  The new item in the list would contain a specific background image with the users text appearing on top of the background image.  I do not want a background image for the entire list, rather each item within the list.
    I am not sure how clear this is so I added an image below.  When a user enters text in and clicks the "post-it" button their text would appear below with the sticky note background. 
    I am not sure which list type would be best for this problem or how to create insert the image, so I am open to suggestions. 
    Thank you for your help.  Any advice or guidance will be greatly appreciated!

    Hi
    the easiest way would be with itemRenderer.
    You have to do two things:
    1. In your list declaration use a item renderer: <mx:List itemRenderer="myRenderer"/>
    2. create a flex component myRenderer that will be the single item. This can be a canvas with a background image and a text field on it.
    When you add a new item to the list, a new myRenderer item will be created and the data property will be passed to it. So you have to put "data" in your textField.
    If you need more help try looking at Tour de Flex samples, they're pretty easy.
    Andrei

  • When I try to same an image under the command 'save as' it will only let me save as file types 'firefox document' or 'all files' and when I try to look at them later they dont work. How can I save an image as the same file type it is on the web site?!

    When I try to save an image under the command 'save as' it will only let me save as file types 'firefox document' or 'all files' and when I try to look at them later they dont work. How can I save an image as the same file type it is on the web site?!
    == This happened ==
    Every time Firefox opened
    == I updated to one of the firefox versions (Not sure which one it was)

    Thanks Alex, but sadly I already tried that. Neither .docx or .xlsx files show up in the content list. They both show as a Chrome HTML document so changing how Firefox addresses those doesn't help since it thinks its the same type of file. I don't think I can manually add files into the "Content Type" left side nav.

  • How can I attach an image without the image is in the email body? (using the new mail the Lion)

    How can I attach an image without the image is in the email body? (using the new mail the Lion)
    I want in attachment, not in the body mail.

    I think your only solution is to zip the image files first and then attach them.
    Read this from a site I found:
    Sending Graphical Attachments -- When you attach a graphical image to your message, the recipient of your message sees the image inline (that is, in the body of the message) if her email client supports inline display. ("Take Control of Email with Apple Mail" contains a table listing the capabilities of popular Mac and PC email clients.) If a client does not support inline display (or the recipient has turned off the inline display option), the file appears as an attachment that must be opened in a separate program.
    On the one hand, an inline image is easier for the recipient to see - all she has to do is look at it. On the other hand, inline images can be frustrating to scroll through. If you do not wish to send a graphical image inline, you must compress the file before attaching it - Mail, sadly, lacks a built-in compression option, though fortunately for Panther users, the Finder offers Zip compression without requiring a separate application.
    Note that when you compose a new message, Mail always shows attachments in the body of your message. You can manually drag them somewhere else, but many email clients display all attachments in a separate list, regardless of where you place them in the message body.
    If you paste an image into a message or drag & drop an image from another window (say, a Web browser), Mail converts the raw image data to an attachment in TIFF format. On the other hand, if you drag & drop the icon of an image file (or use the Attach button to locate the file using the file browser), Mail leaves the attached image in its original format. This difference is significant, because although most email clients can display JPEG images just fine, support for TIFF - especially in non-Mac email clients - is less common. If possible, I suggest attaching image files as opposed to pasting or dragging in raw image data.

  • How to display multi-channel image in the 'proxy'?

    There're many examples to show how to display composite channels in the 'proxy'. But I don't find any example to show how to display multi-channel image in the 'proxy'. I found that I can use PSPixelOverlay to display alpha channel data like this:
    int nSpotChannel = gChannelCount - 4;
    PSPixelOverlay* overlay = new PSPixelOverlay[nSpotChannel];
    for(int i = 0; i < nSpotChannel; i++){
           if( i != (nSpotChannel - 1) )
                 overlay[i].next = overlay + i + 1;
           else
           overlay[i].next = NULL;
           overlay[i].data = gChannelData + (4 + i) * nPlaneBytes;
           overlay[i].rowBytes = gProxyRect.Width() * gDocDesc->depth / 8;
           overlay[i].colBytes = 1;
           overlay[i].r  = 230;
           overlay[i].g = 161;
           overlay[i].b = 174;
           overlay[i].opacity = 255;
           overlay[i].overlayAlgorithm = kStandardAlphaOverlay;
    pixels.pixelOverlays = overlay;
    Then, Seeing red part, it will trigger a new problem, that is how to get the color value of the alpha channel by plung-in itself? It seems that no channel color value info is in FilterRecord.
    If you have other solution, please tell me. Many thanks!

    This is what I've been doing - was just curious if there was a way to see a more cohesive image.
    If the individual EQ plugins are in fact the answer, is there any way to smooth how the Analyzer displays? The image I posted above, all of the tonal curves are very smooth. The analyzer tool shows a lot of peaks and valleys within the overall curve and it's hard to pinpoint each instrument's "sweet spot." Vocals for example are very hard to spot.
    - Morgan

Maybe you are looking for

  • Shipping cost not getting calculated in CRM IC webclient for a region

    HI all, I have an issue where when we create an order, the shipping cost is not getting calculated automatically.. and so we are having to manually enter the shipping cost..this is happening only for Apac regions. for all other regions it seems to be

  • Pacman screwed up my system (gcc related) [solved]

    After doing a system upgrade (pacman -Syu) I can't start most programs due to gcc errors. When upgrading was finished I rebooted and tried to start slim but I got the following error: "error while loading shared libraries: libstdc++.so.6: cannot open

  • Mail in 10.4.7 very unstable.

    Is it just me, or is Mail after 10.4.7 much more unstable? I have had several crashes of Mail since updating. My mail is on an IMAP server. Three times now, since 10.4.7, Mail has crashed when I get a new mail. Starting it up again simply causes it t

  • When backing up ipad to PC where do the files go?

    When backing up ipad to PC where do the files go? I have 44 GB of info on my ipad and it only took about 5 minutes to backup, I do not see it on my computer. I shut my cloud off because I don't like paying for space monthly when I have so much

  • Similar to below message

    Hey, I just got the new Gen5 iPod TODAY and I haven't been able to use it because it keeps giving me problems. For starters, it wouldn't open on my computer just like the guy in the discussion below this one said. It won't be recognized by either my