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

David Meego - Click for blog homepageThis is a reposting of an article I originally wrote on my Developing for Dynamics GP blog.

While 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

This article was originally posted on the Developing for Dynamics GP Blog and has been reposted on http://www.winthropdc.com/blog.

6 thoughts on “Update: Adding Window Size and Position Memory using the Support Debugging Tool

  1. 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?  

    Like

Please post feedback or comments

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.