Update: Adding Window Size and Position Memory using the Support Debugging Tool


David Meego - Click for blog homepageWhile I am updating examples, I have made some changes to the Adding Window Size and Position Memory using the Support Debugging Tool sample code.

The original version used the Dex.ini to store the window size and position as a setting, for example:

MBS_Win_POP_PO_Entry_POP_PO_Entry=-400,-118,664,456

The problem with this method is that it does not work well for a Terminal Server or Citrix based system (especially when there is a farm of servers). In this situation the settings are shared between multiple users and can differ depending on which server a user connects to.

So, I have updated the Support Debugging Tool Non-Logging Triggers to store the settings in the SY_User_Object_Store (SY90000) table instead.  Now the settings are stored per user per company and will follow the user regardless of the workstation or server used.

The updated Support Debugging Tool Debugger Settings file with these triggers is attached as an archive to the bottom of this post.

Let me know what you think of the update.

 

For some related window size and position posts, see the following articles:

David

14-Sep-2012: Added missing attachment. oops.

09-Oct-2013: Added links to related articles.

Debugger Settings POP Entry Window Size.dbg.zip

Comments (4)

  1. Jivtesh says:

    This is fantastic – thank you David!

  2. David Musgrave says:

    Posting from Mark Polino at DynamicAccounting.net

    msdynamicsgp.blogspot.com/…/update-adding-window-size-and-position.html

  3. Medardo Lacayo says:

    Hi Dave,  I am new to using the Support Debugging Tool and wanted to try it for the purpose described in this article.  I am having problems importing the configuration XML into my test environment.  From the Configuration Export/Import screen, I navigate to the file and click on import.  The next window says that there are "No Objects to Import"  I am using the version 14.00.0020 of the GP Power Tools.  Do I need to modify the XML file for it to work with this version?  

  4. Hi Medardo

    Please download GP Power Tools again from the Mekorma site. There was an issue found with importing xml files from the SDT into GP Power Tools.

    It has been fixed.

    https://winthropdc.wordpress.com/2015/09/04/gppt-gp-power-tools-build-20-hotfix-2-released/

     

    David