VBA dialog box hidden behind EPM processing window

I have a BPC 10 report where I want to validate selections made by the user before refreshing.  I wrote a simple piece of code to test using one condition.  If the condition is met, I want to display a message and prevent the report from refreshing.  This is working fine but when the VBA dialog box appears, it gets hidden behind an EPM processing box and not readily visible.  I had to hit alt-tab to bring it to the forefront.  Any ideas why this would be happening?  I don't recall this type of behavior when using v7.5.
Function BEFORE_REFRESH()
   If some_issue = true Then
      MsgBox "alert user"
      BEFORE_REFRESH = False
   End If
End Function

Hi All,
not sure I've undestand your request but if you want to have a form on top you can use some windows API that give you the z-order you want, just search on google "vba form stay on top"
e.g. see please  http://support.microsoft.com/kb/184297
Regards
     Roberto

Similar Messages

  • Excel 2010 Dialog Boxes Hidden behind Application causing application freezing

    Recently upgraded to Office 2010 (32bit) /Windows 7.  Have hundreds of users that we support and so far most have upgraded.  Noticed with some users though - not all - just a small percentage, when they click SaveAs in Excel 2010, the application
    freezes.  On closer scrutiny we realized what was happening was the SaveAs dialog box was BEHIND the main Excel window.  The only way to restore it is to click on the tab from the Taskbar or minimize all the windows to FIND the SaveAs Dialog box. 
    Understandably this is causing these users stress and inconvenience.  It is very unproductive and a nuisance to say the least.  The only other variable here is that all these users have multiple monitors, usually 2-4.  But for some, this happens
    in their main monitor and/or the monitor that Excel is opened in and which has the focus.  Even more strange is that this does not occur to everyone, just a handful of users so far who have reported the issue.  We have also noted it happens
    with other dialog boxes as well, not just the SaveAs so it seems generic in that sense.
    The other item with this issue is that it's not persistent.  Users have reported it's sporadic and comes and goes.
    Is this a bug? 
    Any feedback greatly appreciated.

    On Wed, 14 Dec 2011 20:51:03 +0000, Nootrino wrote:
    >
    >
    >Recently upgraded to Office 2010 (32bit) /Windows 7.  Have hundreds of users that we support and so far most have upgraded.  Noticed with some users though - not all - just a small percentage, when they click SaveAs in Excel 2010, the application
    freezes.  On closer scrutiny we realized what was happening was the SaveAs dialog box was BEHIND the main Excel window.  The only way to restore it is to click on the tab from the Taskbar or minimize all the windows to FIND the SaveAs Dialog box. 
    Understandably this is causing these users stress and inconvenience.  It is very unproductive and a nuisance to say the least.  The only other variable here is that all these users have multiple monitors, usually 2-4.  But for some, this happens
    in their main monitor and/or the monitor that Excel is opened in and which has the focus.  Even more strange is that this does not occur to everyone, just a handful of users so far who have reported the issue.  We have also noted it happens with
    other
    >dialog boxes as well, not just the SaveAs so it seems generic in that sense.
    >
    >The other item with this issue is that it's not persistent.  Users have reported it's sporadic and comes and goes.
    >
    >Is this a bug? 
    >
    >Any feedback greatly appreciated.
    A search using Google reveals that this may be a problem with W7, and was first reported during beta testing!
    http://social.technet.microsoft.com/Forums/en/w7itprogeneral/thread/0bbefdc5-7f20-4b9f-8b24-1be76d6b7996
    and for a possible fix, but with some serious caveats:
    http://social.technet.microsoft.com/Forums/en-US/w7itproui/thread/7f4543cf-874d-4a39-bea5-34a824e4c0ce/
    Ron

  • Update available dialog box appears behind app window

    We have an app that checks for an update each time it launches. This has worked quite well until our latest rev, which included an upgrade to Flash Builder 4.0, the 4.0 sdk, and the AIR 2.0 overlay.
    Now the update dialog box appears behind our application window, which means our users are not going to see it.
    Has anyone else seen this problem?
    Our code looks something like this:
            private function initUpdate():void
                appUpdater = new ApplicationUpdaterUI();
                appUpdater.configurationFile = new File("app:/update-config.xml");
                appUpdater.initialize();
                appUpdater.addEventListener(UpdateEvent.INITIALIZED, autoUpdate);
            private function autoUpdate(ev:UpdateEvent):void
                appUpdater.isCheckForUpdateVisible = false;
                appUpdater.checkNow();
                appUpdater.removeEventListener(UpdateEvent.INITIALIZED, autoUpdate);
    Do I need to try to control the order of the windows? Never had to do that before? Or perhaps "delay" the initialization of the appUpdater() by calling it later in the startup process.
    Any other thoughts are appreciated.
    Kevin S.

    Yes, thanks. That's what I did to solve the problem. I inserted a timer and delayed the call to check for updates for .25 of a second, and now the Update Available dialog is appearing on top of the application window.
    Kevin S.

  • Print Dialog Box Opens behind open windows

    The print dialog box opens behind any open windows everytime I print to a PDF.
    It seems to happen from every program AutoSketch, Word, Excell, QuickBooks.
    Very annoying.
    The minimized dialkog box opens and flashes below on the task bar. When you click on the mini icon the print dialog box comes to the front.
    How can I get the dialog box to open on top of all windows?
    Scott

    I was unable to find the SavedData file.  I am running Windows 7 and there seems to be two files there /Roaming/Adobe/InDesign and /Roaming/Adobe/AdobeInDesing5.5 and neither one has a clear file name "InDesign SavedData" for me to remove.  I think I found the "InDesign Debaults" under the /Roaming/Adobe/InDesign/version7.5/en_US/InDesignDefaults.  Is that one it?

  • Open Dialog Box hiding behind other Apps

    Users frequent find that the GW Open Dialog box hides behind the
    current active screen - Is there a way to make sure it comes to the
    front ?
    Steve

    That works nicely - Thanks ...
    PatM wrote:
    > Can you fix that with the setting that prevents applications from
    > stealing the focus in the Windows registry? If WIN XP, I know you
    > can change that setting easily with Tweak UI to see if it helps. I
    > also let the taskbar button flash until clicked instead of just 3
    > times for situations when it does not come to the front--just to get
    > the users attention. "Steve Babcock" <[email protected]> wrote
    > in message news:C8Lwl.6423$[email protected]..
    > > Users frequent find that the GW Open Dialog box hides behind the
    > > current active screen - Is there a way to make sure it comes to the
    > > front ?
    > >
    > > Steve
    > > --

  • Export Save / Open dialog box appears behind disco screen

    Hi all
    Disco 10g Plus, excel, latest Sun java 6.16 jvm
    We have an annoying but strange issue with exporting.
    A user opens and runs a report ok.
    Withing Disco 10 plus they then click on either file-Export-excel or click on the Export Excel icon on disco plus toolbar
    Either way the export happens and a dialog box appears with blue progress bar and then this disappears.
    And then nothing appears to happen.
    However, something actually has happened, behind the disco 10 window the 'File Download' dialog box with 'Do you wish to open or save this file?' appears. Clicking on save saves it to PC and clicking open opens it in Excel which is fine.
    I am not sure of this box belongs to excel or internet explorer but does anyone know of any way to have this dialog box appear IN FRONT of the current disco plus window as some of our users think that disco has 'frozen' and thus log support calls.
    thanks in advance,
    dw
    Edited by: derrywriter on Sep 30, 2009 2:40 PM

    Hi dw
    I have heard of folks complaining that exports to Excel hang. I have not had any feedback to say that the dialog box is actually open behind the scenes. This is very interesting news and thanks for reporting it. I will certainly look for this in the future and see if I can find a pattern.
    If I may ask, what exact version of Discoverer are you on and what cumulative patch level have you implemented?
    Also, what browser are you using and have you tried this in another one?
    Have you tried deinstalling Java 6.16 and tested with an older one like 6.11 which I have seen working very well?
    As much extra information as you can provide will definitely help and could trigger an idea from someone reading.
    Best wishes
    Michael

  • File Open Dialog Box Hiding Behind - Urgent

    Hi All
    We have write code for Opening File in File Open Dialog Box. But its stays in inactive mode behind SBO. Once we press ALT +TAB only then we can see it. How to Activate it or make it visible automatically in SAP Business One.
    The Code for Opening File we have written is in C#
    <b>OpenFileDialog objOpenFileDialog = new OpenFileDialog();
    objOpenFileDialog.InitialDirectory = System.Windows.Forms.Application.StartupPath + "
                        objOpenFileDialog.Filter = "Excel files (.xls)|.xls";
                        if(objOpenFileDialog.ShowDialog()!= DialogResult.Cancel)
    string ExcelFilePath = objOpenFileDialog.FileName;
    }</b>
    Thanks in Advance
    Asutosh

    Common problem... Do the following instead.
    System.Windows.Forms.Form form = new System.Windows.Forms.Form();
    form.TopMost = true;
    OpenFileDialog objOpenFileDialog = new OpenFileDialog();
    objOpenFileDialog.InitialDirectory = System.Windows.Forms.Application.StartupPath + "\";
    objOpenFileDialog.Filter = "Excel files (*.xls)|*.xls";
    if(objOpenFileDialog.ShowDialog(form)!= DialogResult.Cancel)
    string ExcelFilePath = objOpenFileDialog.FileName;
    That should do it

  • Save as dialog box hides behind the dock

    Ever since upgrading to Yosemite, the 'save as' dialog box will partly hide behind the dock. I can't see the 'save' nor the 'cancel' button.
    Now I don't want the dock to auto hide, nor do I want to make it so small I can hardly see the icons, because when I do either of that I can of course see the buttons. I can therefore only cancel by pressing escape. Since that is not really efficient working for me, this minor issue annoys me to no end.
    I use Word for Mac 2011 and have never had any issues with it before. This also only happens when creating Word documents in print mode view (changing the view makes the issue go away but when I go back to print mode view - which I have always used, the buttons are hidden behind the dock again!) I would appreciate any help ...

    I have the same issue with Chrome, it's very annoying, especially since the "New Folder"-Button is hidden underneath the dock as well.
    When placing the Dock on the left, the Dialog even disappears underneath the screen.
    Retina Macbook Pro, running 10.10.

  • CS3  Design Premium Save As/Export Dialog Boxes Hidden

    I posted this originally on the InDesign forum
    http://www.adobeforums.com/webx?128@@.59b652e3
    - since then, the problem seems to have expanded to the rest of the programs in the CS3 (or it was already existent and I didn't bother testing against it).
    Original Post
    'i"Every time I try to save, export, save as, or (recently) even open a new document now, the dialog box opens with the various options for a split second and then disappears. I think it disappears behind InDesign, but cannot be sure as InDesign will not minimize, even when I Force Minimize everything (Windows-H).
    'iSearched the forums high and low, and tried all of the suggested solutions. I'm on a single-monitor setup. I have reset preferences, deleted/drug out the Documents and Settings InDesign 5.0 Preferences Folder, re started etc. At my whit's end and don't really know what else to do. Are there any other fixes?"
    I know for a fact that Photoshop at least was working fine yesterday (created, saved and saved as multiple layered tiffs). I cannot remember if Version Cue updated just before I left or if I could properly create, save, and save-as then too and it was only after turning it off and returning this morning that it stopped working. Either way, any ideas?
    Thanks,
    Zach

    Okay, awesome! I did that and now the Open dialog box is showing - none of the others are though - does this mean that I'll need to go to each of my dialog boxes missing (save, save as) etc., resize in pshop to use correctly in InDesign? What do I do for the dialog boxes that are in InDesign and aren't showing, but are not in Photoshop (ala "Open New Library" or "Open New Book?")
    Thanks a lot for your help.
    -Zach

  • Boutique modal boxes hidden behind .modal-backdrop, .modal-backdrop.fade.in in mobile window mode

    hi guys
    I'm using the Boutique template as a starting point for my site and Ive changed the mobile set up ( max-width 767px) to incorporate a slide menu with a fixed top bar. To do this ive added a
    <section id="content"> only for the mobile window and I now think its messing up the <!-- Added to cart modal window --> when you press the add to cart button.
    <div class="modal hide fade in" id="cartModal" tabindex="-1" aria-hidden="false" style="display: block;">.
    On desktop its perfect, shows on top of everything else and has a nice drop shadow behind it to fade the content behind it out <div class="modal-backdrop fade in"></div>.
    However when you slide the window down to less that 767px and it turns into mobile set up the cart modal window appears but is behind the <div class="modal-backdrop fade in"></div> and when you try to click on the buttons it doesn't work as the drop shadow is now in front.
    This also happens for the review element as a model window appears for customers to review the product but is not accessible because the drop shadow is now in front.
    Please help with a solution. I know its something ive done with the mobile 767 px set up as when I've looked at the original template it works perfect no matter what the screen size.
    here is my template http://ceramicplanet01.businesscatalyst.com/Shop/item-1
    here is the original template Eye Shadow
    Any help is much appreciated.
    Dave

    Ive done a quick fix for now.
    Ive realized adding the
    <section id="content"> above the wrapper , with this css
    position: absolute;
    z-index: 700;
    has covered the page. Im guessing the .modal-backdrop, .modal-backdrop.fade.in div has been told to cover the page in such a way ive messed up the original, and because the content section is absolute 700 (right to the top) its now above the message box and that is why the shadow is covering it.
    Im not smart enough to figure out how to re align the model box above the content section so Ive come up with a quick fix of changing the
    .model-backdrop fixed position from 1050 to 600 which now means its below the content section and  the model boxes are now editable and clickable for the customer on page. This does mean I lose the shadow effect for mobile devices but im not too bothered about that.
    I did try to just add the rule display:none to the backdrop div but when I save this none of the model boxes would appear so again the command for the model boxes is set up in such away Im not clever enough to find and change on my own. css yes but java not too hot on.
    If anyone can tell me how to set my mobile slide menu you with the back drop div still working please do as I like the feature and dont like elements on the page not being used (unused html and all that).
    thanks

  • Save As and Print dialog boxes appear behind Firefox which locks everything. How do I move or shut down Firefox while its waiting on a hidden dialog?

    When this happens I can't access the dialog or move or close Firefox, including from the Task Manager (Task Manager says it's waiting for Firefox to complete the operation). I usually have to shut down the computer.

    cor-el,
    I kept forgetting and procrastinating about following your instructions, since I have internet access only for limited amounts of time and usually I am busy with important tasks when I am.
    Out of the blue, the problem corrected itself (the Save As box started to open full screen, then shrunk down to a normal size and the edges can now be dragged to a custom size).
    Even the copy and paste problem in the filenaming area seems to have been less troublesome lately even though there have been no updates to Firefox in a few weeks.
    Even though I marked the solution as not helpful, the problem has in fact been resolved. I will save the solution instructions in case the issue returns.

  • Adobe Reader XI - javascript alert boxes appearing behind modal IE window

    Hi - I am experiencing the following issue:
    I am running Windows 7,  Internet Explorer 9 and Acrobat Reader XI. I am opening a pdf document in an IE modal dialog usiing the showModalDialog() function. My pdf document has a simple button which will display an app.alert box. The problem is that the alert box now appears in the back of the modal dialog, something it did not do before the upgrade to Reader version XI. This means that the user is forced to move the modal dialog out of the way to see and to click "OK" on the alert box.
    It doesn't seem like this is limited to app.alert boxes either. I tested on a new WIN7 machine and installed Reader XI. Making sure not to have opened Reader XI, I opened my pdf file in the modal window and it brought up the Reader XI EULA window and it was behind the modal dialog as well.
    Any help would be appreciated, I've tested on multiple machines and the problem seems to be with Reader XI & Internet Explorer 9, running on a Win7 OS. Thanks.

    Hello me_339,
    Yes, I'm also seeing the same behavior in Reader XI, and in Reader X, it works just fine. For the time being, uncheck 'Enable Protected Mode at startup' from 'Preferences > Security (Enhanced)' to avoid this situation.

  • Why do I get multiple security machine dialog boxes when I open Firefox, Windows and Mac?

    Whenever I open Firefox, I am asked for my security machine password multiple times. Seems to be connected to how many tabs open (on Windows) and is always three (3) on Mac. I have Sxipper.

    Strange, since Google is unlikely to do that. Maybe it was an bundled installer masquerading as the official one?
    To start your clean-up efforts, please check your home page setting. Do you get the 3 tabs when you press Command+n to launch a new window? If so, the extra URLs may be tacked on to your home page setting in the Preferences dialog. These articles describe where to find that. Note that it can be difficult to see the full details of that field due to limited space available, so often it is easier to delete it all and paste in just the URL you want.
    * [[Startup, home page and download settings]]
    * [[How to set the home page]]
    Next, please check your extensions, as they can override your settings. I suggest disabling ALL nonessential or unrecognized extensions on the Add-ons page. Either:
    * Command+Shift+a
    * Tools menu > Add-ons
    In the left column, click Extensions. Then, if in doubt, disable. (Or if obviously bad, remove.)
    Usually a link will appear above at least one disabled extension to restart Firefox. You can complete your work on the tab and click one of the links as the last step.
    Any improvement?

  • Multiple screens & Excel dialog box placement

    I'm using multiple screens with my 13" Retina Macbook Pro, and what is really annoying is that Excel places it's dialog boxes in a strange location where I cannot action them or move them.
    Does anyone have an idea on how to tell Excel to ignore the other displays and just show me the dialog boxes on the screen/desktop that has the application on? Going to fullscreen or moving the windows to any other displays didnt make any difference; dialog box remains the same

    On Wed, 14 Dec 2011 20:51:03 +0000, Nootrino wrote:
    >
    >
    >Recently upgraded to Office 2010 (32bit) /Windows 7.  Have hundreds of users that we support and so far most have upgraded.  Noticed with some users though - not all - just a small percentage, when they click SaveAs in Excel 2010, the application
    freezes.  On closer scrutiny we realized what was happening was the SaveAs dialog box was BEHIND the main Excel window.  The only way to restore it is to click on the tab from the Taskbar or minimize all the windows to FIND the SaveAs Dialog box. 
    Understandably this is causing these users stress and inconvenience.  It is very unproductive and a nuisance to say the least.  The only other variable here is that all these users have multiple monitors, usually 2-4.  But for some, this happens
    in their main monitor and/or the monitor that Excel is opened in and which has the focus.  Even more strange is that this does not occur to everyone, just a handful of users so far who have reported the issue.  We have also noted it happens with
    other
    >dialog boxes as well, not just the SaveAs so it seems generic in that sense.
    >
    >The other item with this issue is that it's not persistent.  Users have reported it's sporadic and comes and goes.
    >
    >Is this a bug? 
    >
    >Any feedback greatly appreciated.
    A search using Google reveals that this may be a problem with W7, and was first reported during beta testing!
    http://social.technet.microsoft.com/Forums/en/w7itprogeneral/thread/0bbefdc5-7f20-4b9f-8b24-1be76d6b7996
    and for a possible fix, but with some serious caveats:
    http://social.technet.microsoft.com/Forums/en-US/w7itproui/thread/7f4543cf-874d-4a39-bea5-34a824e4c0ce/
    Ron

  • Dialog box display won't update after screen blank or being moved

    I have a modeless dialog box used for status display by a plugin I wrote for Acrobat. Everything works fine until the screen blanks or the user moves the dialog box on the screen, at which point no further updates to the dialog box are displayed. My plugin consumes 100% of CPU for long periods of time so the program can appear dead without this display being updated, but nothing I have tried seems to make any difference. The dialog box is generated with ADM and things I have tried include calling "Update" on the dialog box at regular intervals, the windows "Sleep" function to yield the CPU periodically, and a host of similar tactics.
    I'm guessing all the code will get run together once I click submit, but here is how I create the diaglog box (it was working fine without the "WinAppRegisterModelessDialog", but I saw a reference to it elsewhere and tried it to see if it would help, not sure if it actually serves any useful purpose):
    statWin = sADMDialog->Create(inPluginRef, DIALOG_ID, IDB_DIALOG1, kADMModalDialogStyle, NULL, NULL, 0);
    WinAppRegisterModelessDialog((HWND)sADMDialog->GetWindowRef(statWin));
    infoBox = sADMDialog->CreateItem(statWin, 5, kADMTextStaticType, &coords, NULL, NULL, 0);
    // Status header
    coords.top = coords.bottom + 10;
    coords.bottom = coords.top + 12;
    statHeader = sADMDialog->CreateItem(statWin, kADMUniqueItemID, kADMTextStaticType, &coords, NULL, NULL, 0);
    // Status line
    coords.top = coords.bottom + 10;
    coords.bottom = coords.top + 12;
    statLine = sADMDialog->CreateItem(statWin, kADMUniqueItemID, kADMTextStaticType, &coords, NULL, NULL, 0);
    // Progress bar
    coords.top = coords.bottom + 10;
    coords.bottom = coords.top + 15;
    progress = sADMDialog->CreateItem(statWin, kADMUniqueItemID, kADMProgressBarType, &coords, NULL, NULL, 0);
    sADMItem->SetMinIntValue(progress, 0);
    sADMItem->SetMaxIntValue(progress, totalPages);
    // Set window size, and other attributes
    sADMDialog->Size(statWin, coords.right + BORDER, coords.bottom + BORDER);
    sADMDialog->SetText(statWin, PROD_NAME " - Progress");
    // Set header for status line
    sADMItem->SetText(statHeader, " Page # % Complete Estimated Time remaining");
    // Initialize progress bar
    sADMItem->Update(progress);
    Updates are currently performed with the following code segment. The last two lines are my attempts to get the display to update once the screen blanks:
    // show it
    sADMItem->SetText(statLine, textBuf);
    // Update progress bar
    sADMItem->SetIntValue(progress, pagesCompleted);
    // Force display update/refresh
    sADMDialog->Update(statWin);
    // Yield for display update (in case of screen blank or user changes)
    Sleep((DWORD)100);
    Everything works fine until the window is moved or screen blanking occurs, after that nothing seems to work, all updates to the box cease to be displayed. Any suggestions?

    OK guys here's an update. First I went to BIOS and updated the initial display setting to "LCD panel only" from "Auto". At first I thought it helped, because when I worked at the laptop without the external screen attached, the internal LCD panel resumed normally from off (previously this didn't work).
    But today while I was in the office with my external 19" LCD screen attached, and both of them went off after being idle for 10 minutes, the internal LCD panel didn't resume again. So I've tried the Fn + F5 key combination to switch between modes, and I switched from dualview back to single. The internal LCD panel blinked for a second and then turned off immediately, and from that moment on, I was without picture on both of them. SO I ended up hibernating and resuming again. :( An important note - as soon as the computer began hibernating, the LCD went on and I could see the whole progress of hibernation before it turned off.
    Also another note - when I'm in dualview, I always have keep the internal LCD panel as the primary screen. So unfortunately, when it doesn't resume, I don't have access to the taskbar etc to try more things...
    Any more thoughts?
    Thanks again!
    Rado

Maybe you are looking for