File.browse() window close

Hi,
    When we use the browse() functionin File  the file selection window appears. Is there any way to close that window using code. What I need to accomplish is I want to close the file selection dialog box automatically  after waiting a few seconds. How we accomplish this?
I tried to dispatch the CANCEL event but no sucess
I want to close this window
Thanks in advance

Upgrade to forms 6i and you'll have a built in for that
(get_file_name). for 4.5 try looking for the d2kwutil.pll I
think there is a method there that will do this.

Similar Messages

  • If I have multiple browser windows open (not tabs, windows) and I close 1 of them, why do ALL browser windows close?

    If I have multiple browser windows open (not tabs, windows) and I close 1 of them, why do ALL browser windows close?

    How are you closing the window?
    Are you using the File menu or the close X on the title bar?
    Use Alt + F to open the File menu with the Close Tab entry visible (doesn't work with the mouse).

  • How to implement the File Browser Window in Webdynpro

    Hello,
    The Scenario is as follows.
    I need to read a file.
    If the file does the exists then the user should be prompted with a file browser window to choose the location of the file.
    Please can you let me know how this can be implemented.
    Regards,
    Vaishali.

    Vaishali,
    See [this tutorial|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b0e10426-77ca-2910-7eb5-d7d8982cb83f]. I believe this is the best that you can do for now.
    Vishwas.

  • Whenever I open new tabs Firefox crashes and the browser window closes automatically.what will I do?

    I am facing this problem since a month.I never faced this problem before.I always feel good to use Mozilla Firefox as my browser.I used to open multiple tabs in a same browser window.For example- in a tab I logged in to Facebook,at same time I might be downloading songs or something else or open another site in the other tab.It might be 2 or 3 tabs sometimes.But now a days,I am facing the problem whenever I open multiple tabs.Its unusual and so much annoying.The Firefox crashes and the browser window closes showing a messege to send an error report.Please Help me.
    N.B. - I am using the Windows service pack 2.
    RAM - 2 GB
    Hard disk MEmory - 250 GB.

    I had this same problem. Seems to be caused by the web developer tool bar FF extension (this started happening after a recent update to that extension). After disabling it, my FF is back to normal :)

  • Browser window close

    If a form is running through a browser, how can the developer ensure that whan a user closes the browser, and so bypasses an application shutdown button, all correct application close functionality is handled.

    Facing this exact issue ..
    Here are the other things that I tried.
    Can someone please help ?
    PS2-Calling an ActionListener on browser window close using JS eventQueuing

  • Not able to run the mxml file (Browser window is not launching)

    Hello All,
    I have flex 2.0 version installed on my window xp desktop. I have created one very simple form using TextInput and Label (Like:Video 04: Using Pre Built Flex Controls) but when I am clicking on the "Run" button at top near Print icon nothing is happening and I am not able to see form in browser window( window is not launching).
    I have attached the flex project screen shot. (ProjectScreen.gif)
    Do anyone have any idea why it is happening.
    I would appreciate your help.
    Thanks & Regards,
    Chetan Tyagi

    Got It !!
    I have re-installed the flex builder 2 again and now its working file.

  • Motion problem with File Browser Window

    For some reason I lost the File Browser Inspector and Library window and can't get it back
    I have tried under the window tab and It will not let me check them to show it again. What can I do?
    They appear in my toolbox at the top but also will not let me click on them.

    Ron,
    Trash your preferences, there are loads of posts on here about how to do that if you search.
    Peter

  • BSP session not dying when browser window closes

    Hi,
    I am having a small problem with the bsp session. I shall explain the prb with an example.
    Lets say i have a bsp application BSP1. I open the application from the Favorites tab in the SAPGUi.
    Initially, i have another browser window open containing google.com(this is imp that i have another browser open all the time containing anything). I now start BSP1, then i close the window by hitting the close button of the browser, as a result the controller sends a exit view back to the frontend which never gets displayed. now i start BSP1 again from SAPGUi, and the browser instead of showing me the logon screen and the start page goes to the exit page of the application. In other words to the last URL that i visited last time in the application. Somehow when the window is closed, the session on the applicaiton server is not dying. This only happens if i have any other browser open all the time containing any thing.
    If i do not have any other browser open, and then i follow the above sequence of events,everything runs smoothly. Also, in the previous case, if i close the google window also and start the application again, everything runs smoothly. In IE settings , in Advanced tab there is a setting for REUSE EXISTING WINDOWS FOR LAUNCHING SHORTCUTS. If i set this option, everything runs smoothly, even if i have a Google(whatever) window open all the time. If i do not set this option, i run into the problem as in the first case. Also, if instead of opening the application through the SAPGui i open another browser from the taskbar and type in the URL , everything runs smoothly inspite of another google window being opened all the time.
    Also this problem is evident in systems with BASIS 640/level 10 and BASIS 620/level 19. It might be present in other versions also but i am working on these two systems with these versions. This problem does not pop up on BASIS 700.
    If on exit, within the controller, i reset the keep_context attribute of RUNTIME  object, everything runs smoothly.
    could you please guide me as to what can be the problem here and how it can be solved. It is important. Any kind of help and guidance would be highly appreciated.
    Looking forward to your response,
    Thanks and best regards,
    Ghufran

    The very first important aspect to understand is that CANCEL kills the session long before the request reaches the ABAP stack. So what ever you want to do, this is not the way to go.
    From reading your first post in this thread through, I have the impression that you might have some confusion between stateful versus authentication. No, I it is not the problem/solution, but just that your very long descriptions without using consistant terminology makes it difficult to understand where we are going.
    Thus, I would recommending read this article for background information:<a href="/people/mark.finnern/blog/2003/09/24/bsp-in-depth-confusion-between-stateless-stateful-and-authentication">BSP In-Depth: Confusion between Stateless, Stateful and Authentication</a>.
    Next, you CAN NOT "redirect it to the browser on the onbeforeunload() event". Well, at least I never have never succeeded.
    Once the closed button is hit, you have not many options. One idea is a window.open, see system application for examples. The other is the image loading trick that Thomas describes in his weblog. Both ideas will actually solve your problems (once you really understand what is happening). This is unfortunately not always perfectly easy.
    brian

  • Disallow browser window close x button when using separateFrame=false

    Hi!
    For problems with mutlicore processors and seperateFrame=true we have to workaround this with change to seperateFrame=false.
    The biggest problem is actual the behaviour when using the close button (x).
    With seperateFrame=true this closed every single form of the call stack, asks you to commit or discard your changes for every single form.
    With seperateFrame=false this closed the whole application without asking, changes are rolled back.
    Are there any possibility to disable the x button or catch the close command from browser to the forms session?
    kind regards
    Torsten

    Hello,
    one more question.
    Is it possible to change the method. so that the fpm opens within the same browser window instead of a new one?
    Maybe is there a solution with the portal?
    This is the Method to create a new Shopping cart. This opens a new browser window.
    method /SAPSRM/IF_CLL_DOM_SCW_FIN~CREATE_NEW_SHOPPING_CART.
    data:
           LV_TASKCONTAINER      TYPE REF TO /sapsrm/if_cll_task_container,
           ls_obn_components     type /sapsrm/s_wd_ui_obn,
           lo_navigation_service TYPE REF TO /SAPSRM/IF_CH_WD_NAVI_SERV.
    try.
      LV_TASKCONTAINER = mo_parent_bo_mapper->get_task_container( ).
      CALL METHOD lv_taskcontainer->GET_NAVIGATION_SERVICE
        RECEIVING
          RO_NAVIGATION_SERVICE = lo_navigation_service.
      ls_obn_components-obn_system = 'SAP_SRM'.
      ls_obn_components-object_type = 'sc'.
      ls_obn_components-operation = 'shop'.
      CALL METHOD LO_NAVIGATION_SERVICE->LAUNCH_TARGET
        EXPORTING
          IV_TARGET_TYPE          = /sapsrm/if_ch_wd_navi_serv_c=>gc_target_type-obn
          IS_OBN_COMPONENTS       = ls_obn_components
          IV_OBN_PARAM_CLASS      = /sapsrm/if_ch_wd_navi_serv_c=>gc_param_class-taskcontainer
          IV_OBN_PARAM_METHOD     = 'GET_OBN_PARAMETERS_RM'
      catch /SAPSRM/CX_PDO_ERROR_GEN.
    endtry.
    endmethod.

  • Psd previews in File Browser Windows XP

    Hello, is there any way to have previews of psd images instead of the icons in the File Browser? (I have windows XP)
    Thank you for help!
    Stacey

    Stacey789 wrote:
    Thank you very much for help!
    It is sad that such software doesn´t exist... But I remember when I had Photoshop 7 the previews were automatic, how come in the CS versions it isn´t possible?
    My friend has just told me about the shell extension and he said it works fine. Why Adobe says that it may lead to data loss? I mean how can an extension lead to data loss? I sounds pretty scary... But on the other hand the previews would be helpful... Is there any article about this matter?
    You are right that Photoshop 7 PSD files were visible as proper thumbnails.
    Then the data loss problem occurred. This was attributed to a file called psicon.dll.
    It never happened to me but there were definitely reported cases of it.
    The file was removed from later versions of PS but along with it went the ability to view PSD files as thumbnails.
    People have been complaining ever since and it seems to boil down to an incompatibility between Windows and Photoshop.
    The fix to get a copy of psicon.dll and put it back in the system works, but then you run the risk of losing data again.
    Since Bridge CS4 is so much improved over previous versions I now us it for browsing images.
    But it's still very annoying!

  • File Browser Window

    Can you guys help me to open a browser window for selecting a
    file name in Forms 4.5
    Thanks in advance.

    Ja esta descoberto !!!
    PROCEDURE browse_fx IS
    nomefx varchar2(20);
    BEGIN
    nomefx := Win_Api_Dialog.Open_File('Escolha o
    FX','C:\TEMP','Todos (*.*)
    |*.*|',TRUE,WIN_API.OFN_FLAG_DEFAULT,FALSE);
    :mapiole.attch := nomefx;
    END;

  • Force a window browser window close when open docs FROM THE KD

    We have an issue when opening documents from the kd a browser window opens, then the office doc opens. But it leaves the blank browser window there open. I have looked into it, and it appears the ptcommonOpener may be able to be modified with a piece of javascript "currentWin.close" in the href that gets built with the link.
    Does anyone have any experience with this or another way to do it.
    Thanks

    the problem has been solved for me following the process :
    1 -close entourage
    2 - start and follow the complete reconstruction of the entourage database ;
    3 - in the "entourage" menu, disable "office reminds" or "office recall" (i don't know the exact name because my entourage is in french)
    For me it has worked. when i click on the dock entourage shortcut it opens without showing the new message windows at start.

  • Open Browser Window Close Previous Window

    Thanks for taking a look at my problem.
    I am using Dreamweaver MX, and I have a web page where there
    are several small thumbnails. When you click on a thumbnail a
    larger picture opens in a seperate browser window. What I would
    like to do is to have this new window display some arrows that when
    clicked, cycle the to the next picture, without having to go back
    to the original window to click the next picture. This I can do,
    the trouble I am having is that when I click an arrow to bring up
    the next picture, is there a way to make the previous browser
    close. Otherwise I will have my main index page with a ton of
    residual small windows all over the place.
    Long story short: Is there a way to close a previous browser
    window, when a new browser window is called to open?
    I have some basic knowledge of web design and making a
    javascript scares the life out of me. Is there a simple add on to
    the "Open Browser Window" code.
    Problematic
    Page

    Or, open the new browser window with the same name as the old
    one.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "nickname777" <[email protected]> wrote in
    message
    news:e6mr52$pgc$[email protected]..
    > Thanks for taking a look at my problem.
    >
    > I am using Dreamweaver MX, and I have a web page where
    there are several
    > small
    > thumbnails. When you click on a thumbnail a larger
    picture opens in a
    > seperate
    > browser window. What I would like to do is to have this
    new window display
    > some
    > arrows that when clicked, cycle the to the next picture,
    without having to
    > go
    > back to the original window to click the next picture.
    This I can do, the
    > trouble I am having is that when I click an arrow to
    bring up the next
    > picture,
    > is there a way to make the previous browser close.
    Otherwise I will have
    > my
    > main index page with a ton of residual small windows all
    over the place.
    >
    > Long story short: Is there a way to close a previous
    browser window, when
    > a
    > new browser window is called to open?
    >
    > I have some basic knowledge of web design and making a
    javascript scares
    > the
    > life out of me. Is there a simple add on to the "Open
    Browser Window"
    > code.
    >
    >
    http://www.superiorcabinets.ca/Showroom_Calgary.htm
    src="/webforums/forum/images/i/expressions/face-icon-small-sad.gif"
    border="0">
    >

  • PS2-Calling an ActionListener on browser window close using JS eventQueuing

    Hi ,
    I need to call an Action Listener(to do some post processing) when a browser window is closed.
    To achieve this I am using the ADF Javascript APIs.
    I tried the following but neither worked :(
    1)Having the following JS code directly in my jspx page -
    <af:resource type="javascript">
    window.onunload = function(evt){
    var button=AdfPage.PAGE.findComponentByAbsoluteId("button"); /** Getting the Abs Id of a button which has the needed ActionListener attached to it */
    AdfActionEvent.queue(button,true);
    </af:resource>
    2)Have a clientListener under the af:Document with type as "load" which calls a JS method as below
    <af:resource type="javascript">
    function onLoad(evt){
    window.onunload = function(evt){
    var button=AdfPage.PAGE.findComponentByAbsoluteId("button");
    evt.cancel(); /* trying to make sure that this doesnot get propagated to the server*/
    AdfActionEvent.queue(button,true);
    </af:resource>
    3) Having a clientListener call a JS method which queues a Server Listener to call a Action Listener.
    window.onunload = function (event){
    var source = event.getSource();
    AdfCustomEvent.queue(source,"serverListenerMethod",{},false);
    Also client attribute for the "button" is true.
    I am making sure the code is put under metaContainer tag of the af:document
    Thanks

    Yes I had tried that .. the alerts fire fine as mentioned in my previous posts too ...
    But the issue here is to call a server Listener which will call some bean code for some logic when a browser window is unloaded /closed!
    As per Frank's post this is not possible using a simple clientListenr as -
    "the browser native JavaScript unload event itself is not very helpful to send an event to the server using the af:serverListener tag. The reason for this is that when the unload event fires, the page already has been unloaded and the ADF Faces AdfPage object needed to queue the custom event already returns null. "

  • File open window closes

    for the last week or two, if I want to attach a file to an email in thunderbird, the finder window opens and closed after about 1 second, before I have had a chance to select a file.  The only way to attach a file is to drag into the window from a separate finder window.  Similarly, the 'file...open' dialogues in firefox and safari do the same, but not in chrome.  However when asked what application to open a specific file type, a finder window opens and closes immediatey - for instance I can't get downloaded files such as getfile.aspx to open in adobe reader as is their target because I can't set the target because the finder window won't stay open.
    this seems to be a macOS problem since it exists in safari, thunderbird, as well as firefox.
    any clues from out there?
    thanks,
    grimblet

    I think it's a good idea to check with Nikon; while you're talking to them, ask what format their cameras' videos are - from what I've read, AVI is not the actual format it's recorded in, but I'm not an expert on that - see the link to the Wikipedia article:
    http://en.wikipedia.org/wiki/AudioVideoInterleave
    Also try to shoot another video in a lower resolution - don't process or do anything to it with the camera, just take out the SDHC card and see if that'll work. I suggested the MPEGStreamclip because if you can drag it into that app, you could immediately convert it to a .mov or .dv file and that should work with either Quicktime, iMovie, or whatever.
    At this point, you also might want to consider trashing any preference file of any application you've tried using with that video just in case any of them have become corrupted.

Maybe you are looking for