access to dex.ini of current user from VBA? - GP2013

Hey guys

I am fixing up a small customization for a client that previously used provateprofilestring /get/write to access a local ini file for 3+ settings that the customization needs.  Some users use this app in a citrix environment and have found that getprivateprofilestring does not respect the logged in user. 

I would like to use the user's unique dex.ini - is there a way from VBA to get to it?  Some users may have their dex.ini local some may be in a lan directory, etc  -I cannot bank on "C:\Program Files (x86)\Microsoft Dynamics\GP2013\Data\Dex.ini"

My next solution is to store them in a SQL table, using the current user as a key to get the settings.

Thanks!

Related
Recommended