How to close the window of IE on exit_form

Hello

Is it possible to close the Internet Explorer window on exit_form?

Thank you

How do I close the browser that started a Session of forms [865745.1 ID]
________________________________________
Updated August 11, 2009 Type HOWTO PUBLISHED status
In this Document
Goal
Solution
Directions for use:
Manual steps required for FireFox:
References
________________________________________
Applies to:
Oracle Forms - Version: 10.1.2.2.0 to 11.1
Information in this document applies to any platform.
Goal
This document will describe how to close the browser window (without confirmation of the user) who was responsible for starting a session of forms.
IMPORTANT:
The sample program in this article is provided for educational purposes only and is NOT supported by Oracle Support Services. It has been tested internally, however and works as described. We do not guarantee it will work for you, so be sure to test it in your environment before relying on it.
The code in this document uses Java Scripting to achieve his goal. If the client computer does not have Java script active or is blocked, this code will not work correctly. In addition, although this document was written as it applies to Oracle Forms, the functionality of the browser and how Java Script responds that it contains, is not related to the product forms. If, for some reason this code does not work for you, the problem is probably the result of changes (for example, updates) made by the supplier of the browser, or a client configuration that prevents the correct execution of the Java Script code. These problems are not related to the Oracle product and you should refer to the manuals of browser or Java script repository to debug the problem.
This code has been successfully tested with Oracle Forms 10.1.2.3 using Internet Explorer 7 and Firefox 3.0. Be aware that FF3 is not currently certified for use with Forms 10.1.2.3 or more. Other versions may or may not work for the aforementioned reasons.
Solution
Directions for use:
1. using an html editor or text, create a file html with the following code:







Your browser or system settings prevented this window to close.


To ensure the highest level of security,


Please close/quit immediately this browser session.



2. save the html with the following name: close.htm
3 store this file on the middle tier in a directory that has an associated virtual path configured on the HTTP server. You can use an existing path or create a new. For example, in the version 10.1.2 you can copy the html file to this directory:
ORACLE_HOME\tools\web\html
Practically, the above corresponds to the following by default:
genres/html /.
For more information about creating a virtual path to the HTTP server, refer to the HTTP Server Administrator's Guide.
4. in the Forms application, choose the desired relaxation, where you want to run the browser is closed. Don't forget that by executing this code, the application will be suddenly terminated, therefore, it is recommended that the following code only appear in the trigger of FORM post forms.
Web.show_document ('/ forms/html/close.htm','_self');
5. compile and run the form.
Out of the form, the browser calls close.htm, resulting in the closing of the browser.
This has been tested successfully using IE7 on XP - SP3. While this code works with other browsers, for example, FireFox 3, a change of configuration in FF are needed to make it work properly.
Manual steps required for FireFox:
1. open an instance of the FireFox browser.
2. in the address bar, enter the following command and press enter on the keyboard:
Subject: config
3. in the list presented, locate the following setting:
DOM.allow_scripts_to_close_windows
4. double-click on this setting to set its value to TRUE
5. exit the browser

References
http://msmvps.com/blogs/paulomorgado/archive/2007/11/02/how-to-close-browser-Windows-in-Windows-Internet-Explorer-7.aspx

Tags: Oracle Development

Similar Questions

  • How to close the window of Photoshop

    When I launch a raw file and you decide to cancel and return to the bridge as my main screen, my main machine closes just Photoshop.  With my laptop, when I cancel a raw image, the empty Photoshop window remains open, and I have to close it manually.  Can what preference I put for the Photoshop window closes automatically.  I looked everywhere but can't find it.

    In the window menu is 'framework of Application '.  Deselect this option, and you should be OK.

  • How to close the window in adf

    How popup in adf

    User, your questions can be decided that you do not give context information.

    What version of jdev do you use?

    What technology do you use?

    What do you mean by "how popup...» » ?

    If you want to open a popup window, have you looked in the docs?

    Timo

  • How to close the open window by Exec VI system automatically?

    Hello

    I use the Exec VI system to launch an exe that is built from a LabVIEW program. Operational system Exec VI, the window out of file exe and stays there even after all the tasks are completed. I have to close it manually each time. Anyone here know how to close the window of the exe file automatically when it's done?

    Thank you

    Jean

    If I understand the question you add a node to call at the end of your application to exit. As it runs as a stand-alone application or in LabVIEW there will be out or stop the execution. I have attached the VI that I use in my applications.

  • When I go on the settings of cookies and close the window, then I go back and it's still on the old settings. How can I keep it changed to what I want?

    I'm trying to let him stay on Firefox will: use of custom settings for history. But when I close the window and come back, he's back on the Firefox will: remember the story. I don't know how to save my changes to keep it on the custom settings.

    The "use settings customized for history" allows to see current history and cookies settings, but select this setting is not to make changes to the parameters of the history and cookies.

    Firefox displays the "use the custom settings for history" as an indication that at least one story and cookie settings is not the default to make you aware that the changes have been made.

    If all the history settings are default, custom settings are hidden and see you "conservation rules: (never) don't forget history."

    "Never remember history" means that private browsing is active and "Always use private browsing mode" Gets a check mark.

  • How to close the bookmarks vertical inscription in my browser window?

    How to close the bookmarks vertical inscription in my browser window?

    .. .of RACE! I should have looked more closely, as the 'x' was camouflaged by my wallpaper. Thank you.

  • How to close the popup window after executing PL/SQL?

    Hello

    To see a junior question: we use APEX 5.0.2

    On a page of the modal dialog (of an interactive report), for the button create, I created a dynamic action that runs the specific code from PL/SQL to insert a new item.  Then behind the insert clause, I have the code to close the pop-up window, so that it executes successfully the insert clause without closing the window.  Please let me know what I can do.  Thank you.

    HTP.p ("< script > '");

    HTP.p ('window.opener.Location.Reload ();) Window.Close ();') ;

    HTP.p ("< /script >" ");

    Kind regards

    Jian

    OK, thanks for all your help and ideas. Finally, I gave up running JavaScript, instead, I created another dynamic action that closes the dialog box with a later sequence (for example, it runs after the PL/SQL code).  Now, it closes the windows properly after running pl/sql clause.  Although I still wonder how to run JavaScript because it doesn't do anything, even when I create a process to run javascript directly.

  • How to close the drop-down menu that I get when I right click on the arrow to the left (to the left of the address bar)? EXHAUST used to do.

    When a tab has a bit of history associated with it, the back and arrows forward near the address bar (IE lefet) opens this story of tabs when clicked.

    But, I can't close this pop-up history.

    In the past, hitting escape close this window. (firefox 14). Now (firefox 27) ESCAPE does not close the window.

    How to close this window?

    (I want to do this via the keyboard and NOT BY SIMPLE CLICK a RANDOM place on the screen.)

    Thank you Gingerbread Man.

    My problem was an extension: MOUSELESS BROWSING.

    I really like this extension, but he did not get a lot of support.

  • Cannot close the window (no tab) with 'Command'-'W' on the mac version of firefox 7.0.1 and firefox 8.0

    I noticed that firefox can not closed is no longer a window using "cmd" + "w" since the version 7.0.1. I have to close the window by clicking on the 'x' on the top left button instead. I just upgraded to version 8 today and the problem has always existed. It never happened in the previous version.

    It is quite embarrassing especially for pop-ups.

    is this a bug or a feature newly added? How can I restore it to the way it was?

    Thank you

    issue is resolved by disabling the plugin to evernote web clipper 5.0

  • How to detect the window closing event and to do some tasks before leaving

    Hello

    Someone knows how to detect the window closing event and to do some tasks before leaving?

    Sridhar

    Structure of the event allows to detect the window closing event. In the structure of the event,.

    Select this VI-> close round table for this task. See attached picture.

  • How to close the task manager full screen?

    How to close the new task manager? There is no close button, just end task, switch or the new task. I want to talk about the program itself?

    Hello

    The Task Manager is running in tiny footprint mode - double-click on the border to return to full mode.

    Tabs in the Manager of tasks and Menu Bar missing or disappear
    http://www.mydigitallife.info/2009/01/17/Task-Manager-tabs-and-menu-bar-missing-or-disappear/

    Small footprint Mode
    http://www.howtogeek.com/wiki/Task_Manager#Tiny_Footprint_Mode

    How to switch between Normal Mode and small footprint in Vista and Windows 7 Task Manager
    http://www.Vistax64.com/tutorials/114377-Task-Manager-small-footprint-mode.html

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

  • How to close a window of movie maker.exe

    Remember - this is a public forum so never post private information such as numbers of mail or telephone!

    Ideas: can someone help me to close a 'bad volume' opinion? "The wrong volume is in the drive. "does not even help remove the DVD.

    • You have problems with programs
    • Error messages
    • Recent changes to your computer
    • What you have already tried to solve the problem

    How to close a window of movie maker.exe

    ====================================
    The following steps may work for you:

    Launch the Task Manager / Ctrl + Shift + Esc / process tab

    Complete the process on all instances of moviemk.exe

    John Inzer - MS - MVP - Digital Media Experience - Notice_This is not tech support_I'm volunteer - Solutions that work for me may not work for you - * proceed at your own risk *.

  • The previous user didn't verify his account. I don't know how to close the session?

    The previous user didn't verify his account. I don't know how to close the session?

    CC just asked me to check it out but it is NOT my account and I do not know whose ID is.

    And now I can not connect with my account. Help, please.

    BTW, there is NOT "Préférences."... "in the setting button.

    Windows:

    Step 1)

    Exit the desktop Adobe Creative Cloud application.

    End Adobe partner all the processes like creative cloud, CoreSync, AAMUpdater, Armsvc... etc. of the Task Manager.

    Step 2)

    Press Windows button (located between Ctrl and Alt buttons) with the key R together at once, you will get a command window.

    Type below command and press the enter"" key.

    AppData

    Then go to the Local > Adobe > OOBE. Open the OOBE folder and delete the file opm.db .

    Once you had deleted Opm.db file, run Adobe Creative Cloud application and check.

    Mac:

    Step 1)

    Exit the desktop Adobe Creative Cloud application.

    End Adobe partner all the processes like creative cloud, CoreSync, AAMUpdater, Armsvc... etc of Activity Monitor.

    Location: Applications > utilities > activity monitor.


    Step 2)

    (1) right-click on the icon in the Finder, then select 'Go - To' folder.
    (2) you will get a text box, type in the following command and then press the 'return '. (Don't miss ~ symbol)

    ~/Library

    (3) then navigate to Application Support > Adobe > OOBE. Open the OOBE folder and delete the file opm.db .

    Once you had deleted Opm.db file, run Adobe Creative Cloud application and check.

  • How to get the window slider in javafx

    How to get the window Slider in javafx when the button is clicked window slider should open with sliding effect and when we clock the button close the cursor window it should be close with effect sliding... plss send the link in this regard or if possible then plss send code. Thank you inadvance

    Look at the examples following, and if they aren't what you are looking for, please post back with a more elaborate description of your problems and a NBS of what you have tried so far (even if this does not work as you wish).

    Experiences with Java: sliding in JavaFX (It & #8217; s all about cutting)

    Example of a JavaFX component that slides in and out on command.

  • How to close the scene?

    Hi how to close the scene? The doc says that
     stage.close()
    just mask the window but still exist in memory and frees resources. Y at - it something like
     JFrame.dispose()
    My requirement is first I'll show the step that displays a login form. Once the user s in successfully login I have to close it and open another window that contains information specific to the user. So, what might be the best approach?

    Instead of using the many steps I suggest to use only a step and many scenes.
    Here are some examples:
    Re: How to change several scenes?
    https://blogs.Oracle.com/acaicedo/entry/managing_multiple_screens_in_javafx1

Maybe you are looking for