While looking to improve on my method of getting exceptions or a long list of mail suffixes into an array, to be checked during code execution, I came across this: https://msdn.microsoft.com/en-us/library/windows/desktop/ms696048(v=vs.85).aspx
This seemed to me to be a really nice solution, just defining all exceptions and suffixes within one file, read it in on code execution, then check for existence or whatever in the code.
So, given the following xml file:
Add the System.Xml Import and declare the variables, so they are global:
Add the code to read the xml file into the Initialize Sub:
Then, when you wish to look for those values within those variables – just like in the last post: