Tag: Best Practice
#Dexterity Future Proof Range Setting
Visual Studio Tools: Best Practice when adding References to Projects
I am writing this article after seeing the side effects of Visual Studio Tools developers not following Best Practice when adding references to their projects.
Two mistakes made by the developer in this example resulted in Microsoft Dynamics GP failing to launch with the “An exception occurred while trying to load or initialize the addin” error.
Dexterity: Why won’t my Security operations show in Test Mode?
I was recently assisting a fellow Dexterity developer to create scripts to automatically create all the Security Tasks and Security Roles for their ISV (Independent Software Vendor) add-on product for Microsoft Dynamics GP.
While they were checking their code in Dexterity Test mode, the security settings for their product never showed up. This was weird as the data appeared to be in the tables and worked when in Runtime mode.
Developing using Dexterity for Microsoft Dynamics GP 2015 or later

Today, I was contacted by a fellow Dexterity developer who was having trouble getting Dexterity for Microsoft Dynamics GP 2015 or later to run Dynamics.dic in Test Mode.
In this article, I will take you through the errors you could get and how to resolve them. Some of these you might know from previous versions, others are new to GP 2015 or later.
Part of the #Dexterity Development Environments Series. See Summary at end for quick list.
How to enable Visual Studio Tools Customisations for the Web Client
Have you ever written some cool Visual Studio Tools (VST) code that worked great on the desktop client, but does not work on the web client? VST code that does not use any WinForms or uses WinForms but only with supported controls and so should work?
Well, I have. A great example is the Company Login window customisations covered in the blog posts below:
- Customising the Company Login window series – Visual Studio Tools revisited – Visual C#
- Customising the Company Login window series – Visual Studio Tools revisited – Visual Basic .Net
The code worked fine on the desktop client, but had no effect in the web client. Something was missing, but I did not know what.
Quick Tip: Dexterity Ranges and how to update Fields that are part of the Key

This is a reposting of an article I originally wrote on my Developing for Dynamics GP blog.
Last week, I had an interesting case where a Dexterity Developer was having trouble getting some code to update a range of records selected in a table. The code would only update the first record in the range.
Customising the Company Login window series Part 3 – Dexterity

This is a reposting of an article I originally wrote on my Developing for Dynamics GP blog.
GP Power Tools – Administrator Tools Module can provide this functionality without needing customizations. (https://WinthropDC.com/GPPT)
Following on from my previous posts: Customising the Company Login window series Part 1 – Introduction and Customising the Company Login window series Part 2 – Visual Basic for Applications, here is the method to create a solution using Dexterity.
Customising the Company Login window series Part 2 – Visual Basic for Applications

This is a reposting of an article I originally wrote on my Developing for Dynamics GP blog.
GP Power Tools – Administrator Tools Module can provide this functionality without needing customizations. (https://WinthropDC.com/GPPT)
Following on from my previous post: Customising the Company Login window series Part 1 – Introduction, here is the method to create a solution using Visual Basic for Applications (VBA).
Customising the Company Login window series Part 1 – Introduction

This is a reposting of an article I originally wrote on my Developing for Dynamics GP blog.
GP Power Tools – Administrator Tools Module can provide this functionality without needing customizations. (https://WinthropDC.com/GPPT)
Recently a comment from David M (not me) was posted on the Support Debugging Tool Portal page asking:
“We have some fairly long names for our GP companies. Well, when logging onto GP, the second “Company Login” screen cuts off the company names too short for us. The entry field for companies allow for longer strings (65 Characters) but only displays 31 characters on the pull-down list. There is plenty of real estate on this window going unused. Can anyone think of a way to enhance/fix this to display more of the company name?”
