none
Documentation for PopupBasherConfiguration? RRS feed

  • Question

  • I'm using the HPC Excel Driver, and need to resolve this error found in the event log (with actual message removed):

    Popup window 'Microsoft Excel' may be blocking job progress. Consider changing your workbook to remove this popup or configuring popup bashing to automatically dismiss it. Window Message: '---- (the message) ----' Window Class: '#32770'

    I have added this to my code, but it doesn't appear to work.

    	var configuration = new PopupBasherConfiguration
            {
              Period = 500
            };
    

    I have not found any documentation about this method. It should be here: Microsoft.Hpc.Excel Namespace, but there is no mention of it, or how to "configure popup bashing" as hinted at in the error message.

    Any suggestions?

    Any reference documents that talk about this?

    Thursday, June 11, 2015 7:31 PM

Answers

  • Hi Glen,

    If you open the service configuration file Microsoft.Hpc.Excel.ExcelService_1.0.config via the Cluster Manager console, then you may find the configuration section named PopupBasherConfiguration which contains the related XML elements with the properties defined as below,

    • Action:
      • DoDefault: The default action associated with the control will be executed
      • Exist: Check existence and do nothing
    • Search:
      • Exact: Search the title name by using exact noncasesensitive string matching
      • RegEx: Search the title name by using a regular expression
    • Role: The attribute name identifying the window element

    The configuration section is as below,

      <!-- Period = "2000" value in milliseconds for watching period -->

      <PopupBasherConfiguration Period="2000">

        <!-- List each windows and children that we want to drive

        <Window

            Title = "Title of the window caption"

            Class = "Class name" => #32770 for dialog boxes, use companion tool like spy++ or AccExplorer32 to find them

                >

            <Child

                Title="Title of the window caption"

                Class="Class name"

                Role="See role below"

                Action="Supported action see below"

                Search="Search mode, Exact or by using Regular Expression"

                    />

        </Window>

        -->

        <Windows>

    <!-- This rule matches error popups you might get from an XLL written in VB

          <Window Title="Microsoft Visual Basic">

            <Child Title="*" Role="ROLE_SYSTEM_WINDOW"

            Action="Exist" Search="RegEx" />

            <Child Title="Fin" Role="ROLE_SYSTEM_PUSHBUTTON"

    Action="DoDefault" Search="Exact"/>

          </Window>

    -->

    ... ...

     </Windows>

      </PopupBasherConfiguration>

    There is a document named HpcExcel.pdf in the HPC Pack 2008 R2 SDK and Sample Code (download) with more info about the configuraton. Please check it out.

    Best,

    Yutong


    • Marked as answer by Glen Little Monday, June 15, 2015 3:19 PM
    Monday, June 15, 2015 1:36 PM
    Moderator

All replies

    • Edited by Glen Little Thursday, June 11, 2015 7:41 PM
    Thursday, June 11, 2015 7:41 PM
  • Hi Glen,

    If you open the service configuration file Microsoft.Hpc.Excel.ExcelService_1.0.config via the Cluster Manager console, then you may find the configuration section named PopupBasherConfiguration which contains the related XML elements with the properties defined as below,

    • Action:
      • DoDefault: The default action associated with the control will be executed
      • Exist: Check existence and do nothing
    • Search:
      • Exact: Search the title name by using exact noncasesensitive string matching
      • RegEx: Search the title name by using a regular expression
    • Role: The attribute name identifying the window element

    The configuration section is as below,

      <!-- Period = "2000" value in milliseconds for watching period -->

      <PopupBasherConfiguration Period="2000">

        <!-- List each windows and children that we want to drive

        <Window

            Title = "Title of the window caption"

            Class = "Class name" => #32770 for dialog boxes, use companion tool like spy++ or AccExplorer32 to find them

                >

            <Child

                Title="Title of the window caption"

                Class="Class name"

                Role="See role below"

                Action="Supported action see below"

                Search="Search mode, Exact or by using Regular Expression"

                    />

        </Window>

        -->

        <Windows>

    <!-- This rule matches error popups you might get from an XLL written in VB

          <Window Title="Microsoft Visual Basic">

            <Child Title="*" Role="ROLE_SYSTEM_WINDOW"

            Action="Exist" Search="RegEx" />

            <Child Title="Fin" Role="ROLE_SYSTEM_PUSHBUTTON"

    Action="DoDefault" Search="Exact"/>

          </Window>

    -->

    ... ...

     </Windows>

      </PopupBasherConfiguration>

    There is a document named HpcExcel.pdf in the HPC Pack 2008 R2 SDK and Sample Code (download) with more info about the configuraton. Please check it out.

    Best,

    Yutong


    • Marked as answer by Glen Little Monday, June 15, 2015 3:19 PM
    Monday, June 15, 2015 1:36 PM
    Moderator