I am trying to read Outlook’s master category list from the registry while in a Word macro (finding Contacts). I am able to do this using
privateprofilestring (“”, “HKEY_CURRENT_USERSoftwareMicrosoftOffice9.0OutlookCategories”, “MasterList”).
But once the string is over 255 characters, I get a zero length string. I have been trying to understand the API function getprivateprofilestring, but do not understand how I use it. Is there a way to get a string out of a registry entry that is greater than 255 characters?
Thanks!