Isaac
Lifelong Learner
- Local time
- Today, 12:00
- Joined
- Mar 14, 2017
- Messages
- 8,777
I'm looking for code that would help me determine Yes/No if a user is currently on Citrix using my Access app. I am going to have a mixed population of users - maybe up to 1/3 on Citrix, the rest are not. Due to the fact that some of our Sharepoint sites do not play well with Citrix users, I need to be able to react to that intelligently in my database - and I'd rather just know that they are on Citrix, rather than trying to determine whether their Sharepoint connection is playing well, since that problem usually just presents itself as numerous, repeating, Sharepoint credential pop-ups rather than any trappable error.
My first instinct was to test various VBA methods of getting: the Desktop path, the Documents path, and the AppData path. I'd send a small tool to 3 people--2 of whom are not on Citrix, one of whom is. Almost surely, I will end up seeing that the Citrix user's value (for at least 1, if not all 3, of those locations) is unique to them as a Citrix user. I'm planning to send this test tool to the 3 of them later today and see what it yields. I would probably use at least 2 methods to get each of these 3 locations (if not more) - Environ, VBScript SpecialFolders and VBScript ExpandEnvironmentalVariables (I may have misspelled that last one).
Does anyone know of additional ways of testing?
My first instinct was to test various VBA methods of getting: the Desktop path, the Documents path, and the AppData path. I'd send a small tool to 3 people--2 of whom are not on Citrix, one of whom is. Almost surely, I will end up seeing that the Citrix user's value (for at least 1, if not all 3, of those locations) is unique to them as a Citrix user. I'm planning to send this test tool to the 3 of them later today and see what it yields. I would probably use at least 2 methods to get each of these 3 locations (if not more) - Environ, VBScript SpecialFolders and VBScript ExpandEnvironmentalVariables (I may have misspelled that last one).
Does anyone know of additional ways of testing?