Loading (and hiding) an applet from forms 6i (deployed on iAS 1.0.2)

Hi:
We have an existing in-house Forms 6i application deployed on Oracle iAS 1.0.2 (client PC is running Win XP).
I need to do the following after user completes a specific action on the form (e.g. click a button):
- loading an applet to downloading a file from the server to client machine
- the applet (and the associated HTML page, if any) must be hidden from the user
- after the downloading process is completed, the applet (and associated HTML page) is terminated without any impact on the Oracle Form
Any help (and examples if available) is much appreciated
Thks

Hello,
Applets accept parameters, so you could use these parameters to move or resize the main frame (like the Forms applet does).
If your are the owner of the Applet, you also could envisage to transcript it into a Java Bean, then it would be totally transparent for the user.
Francois

Similar Messages

  • On an ipod touch 4th generation, how do I load and sync my music from the computer to the ipod without mixing up and/or losing all of my photos which I have in categories?

    On an ipod touch 4th generation, how can I load and sync my music from my computer to the ipod without losing and/or mixing up my photos which I have put into categories?

    Finally did somethign that fixed this.  I restored my hard drive.

  • IChat randomly loads and wakes my machine from sleep.

    iChat has been randomly loading and waking my machine from sleep. I can even be sitting in front of it and suddenly it will load and log me in AIM. Seems very virus like, but not sure it is. Anyone know what's going on?

    Here's a more detailed description of what's happening.
    After upgrading to 10.5.1, my iChat will load automatically at random times. It will even wake the computer out of sleep to load it. I was really frustrated that this was happening, and believing it was from having upgraded from 10.4, I decided to format my computer. After a clean wipe and updating to 10.5.1, iChat again is loading by itself randomly. I can quit iChat and go away for 30 minutes, come back, and it's launched again.
    I have noticed on occasion when my iPhone is connected via the USB port that when it receives an e-mail it has been prone to launching iTunes and iChat, so this problem might be inter-related. However, I can have my iPhone disconnected and iChat will still load by itself. In fact, I quit out of iChat this morning, came to work and loaded iChat here at the office and it said I was logged in at another location. It must have logged in again at home. It's never done this in any other OS version for me.

  • How to import and display an applet from JSP

    i m using netbeans 5.0
    i have class named myapplet.class
    and jsp named myjsp.jsp
    now i want to access(import) this myapplet.class from jsp
    also i want to display this applet from this jsp
    i am able to do either thing but not both
    so please help me it is so urgent and important for me bcoz
    i have to complete my project as early as possible
    Thanks in advance

    my jsp source file page path is D:\Reliance
    project\WebApplication3\web\
    and classes path is D:\Reliance
    project\WebApplication3\build\web\WEB-INF\classes\
    so problem is that if i want to use myapplet.class
    then i have to put my class in D:\Reliance
    project\WebApplication3\build\web\WEB-INF\classes\
    location
    but at that time i am not able to display this applet
    on my jsp
    if i put my myapplet.class in
    D:\Reliance project\WebApplication3\web\ then i m
    able to display
    applet but not able to access(import) this class
    hope you will got the problem!!!
    thanks for your reply !!!try to set the path of your applet on jsp something like this
    "WEB-INF/classes/myclass.class"

  • How do I load and run a sequence from the Tools menu?

    If I can build a sequence to do something special, what's the syntax required to load and run it from a menu? This must be transparent to the customer. I know how to add menu items, but the tools customize window seems to be looking for an exe.

    When you go to tools>>customise and then add in an item to appear in a menu, you need to select sequence, rather than command.
    Hope that helps
    S.
    // it takes almost no time to rate an answer

  • Load and unload a non-sap form from a menu

    Hi all, I have a DI & UI add-on and I created a form (a VS form, not from the DI of SAP) that have to be opened on a click of a menu.
    By the way, the only reason why I use the UI is to allow the user to use the addon without to have to choose the Company, and enter a user and password.
    During the creation of the form, I add the menu and after the form is loaded. THe problem is that when I close the form, the add-on is unload.
    I try to add a .vb class that creates the menu and, on a click of the menu, loads the form, but I'm not able to add this one as the startup object in VS .net 2003.
    I know that it's not a SBO question, but I would really appreciate help.
    François

    Hi Adele, I already done that, but I had forgoten to put something. Thanks yo you I realized that, tank you.
    HOWERVER, althtough the form is charged in memory, it doesn't show properly .
    When I use
        myForm= New frmPrincipale
        ' Transfer of SAPbobsCOM.Company
        myForm.SetCie = myCie
        myForm.Show()
    the form is showed, but no control in it are showed and it disapear approximately 10 seconds after.
    when I use:
        myForm= New frmPrincipale
        ' Transfer of SAPbobsCOM.Company
        myForm.SetCie = myCie
        myForm.ShowDialog()
    all are working perfectly, but I can't do anything else in SAP unless I close it.
    This is a strange problem.
    Any idea ?
    François
    PS Thanks for your replies all

  • How to read and write Binary files from Forms 6i C/S ?

    Hi There,
    I have a situation, where user wants to store attachements to a record (Could be any type of file, TXT, TIFF, or Word Doc etc.) and wanted to retreive later if they wanted to edit/read.
    We are using forms 6i and Oracle 9i in client/server environment setup. Does anybody know how to solve this requirment. I'm ale to load image files with read_image_file, but it could be text some times and it could be some thing elses like word doc or excel.
    Also i have to give user an option to view existing file attachments. I'm Planing to use BLOB in database table to store files.
    Any help in this regards is appreciated

    Thanks,
    Venkat

  • Dynamically loading and registering JDBC driver from an archive (zip - jar)

    I'm programming an JDBC driver tester.
    I have to load dynamically any driver from an archive (jar or zip) after the user uploaded it.
    I think i did it well with my ClassLoader, i can get an instance of the driver and use any method like (getMinorVersion()) but when i registering it fail.
    There is no error but the driver is not registered.
    I rode the DriverManager log (with his logwriter) and he says :
    skipping: driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@5439fe]
    skipping: driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@2b7db1]
    (two times, it looks curious isn't it ?)
    This is a part of my code :
    Driver pilote = (Driver)Class.forName(driverClass.getName(), true,this).newInstance();
    System.out.println("Minor Version = "+ pilote.getMinorVersion());
    PrintWriter printwriter = new PrintWriter(new OutputStreamWriter(System.out));
    DriverManager.setLogWriter(printwriter);
    DriverManager.registerDriver(pilote);
    System.out.println("Driver registered\n");

    I have made a simple test :
    public static void main(String[] param)
    System.out.println("Loading Driver from JAR ...");
    try
    File jar = new File("c://mbm//drivers//oracle.jar");
    URL aurl[] = {jar.toURL()};
    URLClassLoader urlclassloader = new URLClassLoader(aurl, ClassLoader.getSystemClassLoader());
    Class.forName("oracle.jdbc.driver.OracleDriver", true, urlclassloader);
    PrintWriter printwriter = new PrintWriter(new OutputStreamWriter(System.out));
    DriverManager.setLogWriter(printwriter);
    Enumeration listDriver = DriverManager.getDrivers();
    System.out.println("[---------Drivers-----------]");
    while (listDriver.hasMoreElements())
    Driver driver = (Driver) listDriver.nextElement();
    System.out.println("->> "+driver.getClass().getName());
    catch (MalformedURLException e)
    e.printStackTrace();
    catch (ClassNotFoundException e)
    e.printStackTrace();
    This displays that :
    Loading Driver from JAR ...
    skipping: driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@9ec21d67]
    [---------Drivers-----------]
    D:\www\tomcat\webapps\mbm\WEB-INF\classes>
    I think there is in this case only one instance

  • IS there a way to load and purchase different photos from iPhoto and ship them at the same time? the only way that I can find is to purchase each photo (or multiple of one) at a time, which increases the cost of shipping, as I want to get one print of 20

    Is there a way to order multiple different prints in any quantity from Iphoto? it appears currently like I would have to ship each separately, even if only one print... is there a way around this so I can can get several DIFFERENT prints of any quantity and ship all at the same time?

    Sure - easiest way is to make an album for photos you want to order and drag photos to it - when it is complete open the album, select all and order
    LN

  • Problems loading and saving pdf files from sites with latest version.

    On my utilities I wish to download and save pdf files of my e-bill.
    Lately when I click on getting bill, Firefox opens new tab and stops.
    with a light message in url place saying "Type a web address".
    To get around this I must do a right click on the save bill and
    select open in new window, then it opens a new copy of Firefox,
    and two tabs, with the second one asking me to use Adobe to see
    pdf file. I tell it to open and then save it and print it from the tab
    that opens with the pdf file in it. This never happened before was
    always able to just click on link and it would open new tab with
    pdf file there.

    Thanks for the replies. I don't think I was clear enough with my question.
    What I want to be able to do is to click on a PDF file in my Firefox browser and be able to save it as an Adobe PDF file, not a Preview PDF file, in any folder on my computer, rather than just the specified default location for downloads. This way I can save, for example, phone bills in the phone bills folder and bank statements in the bank statements folder without having to save them to the desktop, "Get Info" on each, and change the "Open with:" box from Preview to Adobe Reader.
    Fortunately, thanks to Michael's post, I found an add-on from Firefox that allows me to do just that: https://addons.mozilla.org/en-US/firefox/addon/636
    Thanks for your help. Now, within my Firefox browser, I can choose whether to view or download PDF files, always in Adobe rather than Preview, and when I save them I get the option to choose the location each and every time.
    MacBook Mac OS X (10.4.9)
    MacBook Mac OS X (10.4.9)

  • Can i load and run  .exe file from jar file??

    I generated a .jar file witch contain an executable (.exe file) under a directory called 'exec'. I can't execute this exe file using
    URL urlExecutable = DlgueLancement.class.getResource("/exec/myPrograme.exe");

    import java.io.*;
    import java.util.jar.*;
    import java.util.zip.*;
    public class Extracter
        public static File extract(File archive, String filename, File target) throws IOException, ZipException
            if( archive == null )
                throw new IllegalArgumentException("Null archive file");
            if( !archive.exists() )
                throw new IllegalArgumentException("Specified archive does not exists");
            if( !archive.isFile() )
                throw new IllegalArgumentException("Specified archive file is not a file");
            if( filename == null )
                throw new IllegalArgumentException("Null filename");
            if( filename.length() == 0 )
                throw new IllegalArgumentException("Empty filename");
            if( target == null )
                throw new IllegalArgumentException("Null target");
            if( target.exists() && file.length() > 0 )
                throw new IllegalArgumentException("Target file already exists and cannot be overwritten");
            JarFile jar_archive = new JarFile(archive);
            ZipEntry entry      = jar_archive.getEntry(filename);
            if( entry == null )
                return null;
            InputStream istream = null;
            FileOutputStream ostream = null;
            try
                istream = jar_archive.getInputStream(entry);
                if( istream.available() == 0 )
                    return null;
                byte[] buffer = new byte[istream.available()];
                istream.read(buffer);
                ostream = new FileOutputStream(target);
                ostream.write(buffer);
                return target;
            finally
                if( istream != null )
                    try{istream.close();}catch(Exception e){}
                if( ostream != null )
                    try{ostream.close();}catch(Exception e){}
    }

  • Getting Host Name From Forms 6i (deployed in 10g AS)

    Hi,
    I need to get the host name of client while launching my application. I am using forms6i. So I cannot use webutils.pll for the same. But in the below thread I have read that Webutil.pll has been modified to use with FORMS 6i also. Can anybody send me webutils.pll which can be used with Forms 6i
    Re: Converting to Webutil? 6i and 9i equivalents.
    Its an urgent requirement
    Any help is appreciated.
    Thanks

    Hi,
    I have tried sys_context and java class option already ..but in vain :(..
    Let me explain my problem in detail.
    My database server(Oracle 10g) is in HOSTA
    My appserver (Oracle 10g AS)resides in HOSTB
    And user launches the application from HOSTC
    My requirement is to get the host name of the user while he launches the application. ie HOSTC in this case.
    If I am trying with java.net.InetAddress.getLocalHost().getHostName(); I am getting the value HOSTA(Host name of Data base server)
    If I am trying with SYS_CONTEXT I am getting HOSTB(Host name of appserver)
    And my requirement is to get HOSTC !!!
    I have read that if Webutil_clientinfo.get_host_name is used I can get the host name of client machine. But since I am working with forms 6i , I can't use Webutil.
    please help me if you know any way to achieve the same in forms 6i

  • Opening image file from Form 6i deployed on Application server

    Hi
    I am working on an applictaion where a form 6i is deployed on application server.The application reads an image file from hard disk.The form works fine when I run in form developer . But when I deploy on application server the form using get_file_name do not reads the image file.
    Please help
    Prashant

    Hi!
    In forms 10g we use webutil for that. I think forms 6i do not support that.
    May search here in the forum for webutil for 6i.
    Some guys had built a webutil.pll that s working on 6i.
    Here is the thread: Converting to Webutil? 6i and 9i equivalents.
    Regards
    Edited by: Magoo on 18.09.2009 11:10

  • Dynamic load applet from File or MSSQL trigger

    Hi,
    i have an interesting project that i am researching, i would greatly appreciate if someone can point out some tools to use inorder to reach the following scenario with java.
    I seeking to write data to a web applet whenever an insertion is done to a database or a new file is written to one directory on the server.
    i need to display the information in the applet without refreshing any page.
    i am very new to java, but i found that it could be done in a couple of ways....
    1- Opening a channel between the applet and the server that uses HTTP request and response to load and update the applet without refreshing the page.
    2-Programming a servlet on the server that communicates with the server and the client applet, it send the applet data when ever an insertion is done on the server.
    3-Doing an applet that gets data from a cookie text file on the client machine, using an open channel between the server an the client the server writes these data to a certain directory on the client.
    Please advice if any of these relates to the real world, and please provide tips of tools to do that.
    Greatly appreciated,
    Wafic

    OK, lets see how to accomplish that... :-)
    1- Opening a channel between the applet and the server
    that uses HTTP request and response to load and update
    the applet without refreshing the page.The idea of reloading the applet is not effective and leads to extreme performance losses.
    But you can use a URLConnection to send requests and retrieve any data on that channel.
    2-Programming a servlet on the server that
    communicates with the server and the client applet, it
    send the applet data when ever an insertion is done on
    the server.Here is the tricky part.
    To notify the applet you will have to set up some sort of server, as it does not know anything about operations on the web server side.
    So you either set up a socket connection to the server or (better) use remote method invocation (RMI) to let the server call the appropriate method and immediately send the data.
    This could be methods like (abstracted):
    myApplet.getData(String fileData);
    or
    myApplet.notifyMe(); //triggers the HTTP request to                get the data
    This is also not so easy as you will have to start a RMI registry inside the applet.
    3-Doing an applet that gets data from a cookie text
    file on the client machine, using an open channel
    between the server an the client the server writes
    these data to a certain directory on the client.This is the part I do not understand.
    Why are you sending a text file from the client to the server, which in turn should write the same file back in a client directory ?
    Why not using the applet for that ?
    Under any circumstances you will have to circumvent the applets security rectrictions on the client side by either signing it or deploying a policy file depending on the JAVA platform version you will be using.
    I hope this helps any further.
    Oliver

  • Apple TV won't load or play movies from my MBP library (through both airplay and homesharing), but will from my mac mini. Help!

    I have been using my apple TV seamlessly with all my apple products (Mac Mini, iphone, MBP, ipad). Everything worked perfectly until recently (I noticed the issue about 3 weeks ago), when the apple TV won't load and play any movies from my iTunes library located on my MBP. The Library loads, and I can see everything, but as soon as I press play, the spinning load icon appears and doesn't stop. Same when I play movie from itunes directly and send it via airplay. Desktop mirroring no problem.
    I have checked, and films are being played perfectly from my other devices, as does airplay and mirroring

    Hello Tourneurm,
    Thank you for contacting Apple Support Communities.
    This article might be of use for your issue.
    Troubleshooting Home Sharing
    http://support.apple.com/kb/TS2972
    Section 8 seems to be most applicable.
    8. Cannot access my library when my computer is asleep
    For Apple TV to access your library while the host computer is asleep, "Wake for network access" must be turned on.
    Open System Preferences > Energy Saver and select (enable) the "Wake for network access" option.
    In addition, the network that the host computer and the Apple TV (2nd or 3rd generation) is connected to must support Wake on Demand feature. This works by partnering with a service running on your AirPort Base Station or Time Capsule called Bonjour Sleep Proxy.
    This article could also be of use.
    Apple TV (2nd and 3rd generation): Troubleshooting playback performance
    http://support.apple.com/kb/TS3623
    Regards,
    Jeff D.

Maybe you are looking for

  • How do I sync my iPhone with a newer Imac

    Hello, I used to sync my Iphone with an MacBook  early 09, I just bought a Brand new iMac, My phone has all the apps and music that I used to have in the old macbook, Now Im trying to Sync it with the new iMac without loosing my settings in my Iphone

  • Is there any way to make the page size of a PDF document smaller?  I'm at 30"x36" and want 8.5"x11"

    Is there any way to make the page size of a PDF document smaller?  I'm at 30"x36" and want 8.5"x11"

  • Cannot create a date in cfformitem type="script"

    I tried to create date variables using "new Date" in cfformitem type="script" and got an error about the "new" reserver word. Therefore, I removed the "new" and tested the script. It worked with the wrong result because the todayDate and selectedDate

  • Masking not displaying correctly

    Recently upgraded system to 9.1.2. I have a couple dozen phones when dialing an outside line there phone masking is not displaying. The masking is showing up with the Bill To Number of the PRI's. I have had numerous Cisco TAC show me and tell me that

  • Imac 21.5" or 24"led+mini

    I do a lot of photo editing using Photoshop cs4 as a hobby, currently using an old PC monitor calibrated by Eye-one Display 2, thinking about getting into a mac system. Due to my budget--max $1200, I am thinking either getting a refurbished 21.5" ima