I have a sample program below that I'm trying to convert to the newer mso.tlh (the code has not been updated for years). So, I had to add all of the "Outlook::" and "Office::" since the old tlh did not have the namespace defined in the tlh file.
Down on the bottom of this code that I have extracted, I keep getting the compiler error that it does not how I'm trying to use "Add". I have tried various parameters with no success. What is wrong with it before I burn my hair off my head. :/...
Compiler Error: Does not like Outlook.CommandBarControls.CommandBarControlPtr.Add
Down on the bottom of this code that I have extracted, I keep getting the compiler error that it does not how I'm trying to use "Add". I have tried various parameters with no success. What is wrong with it before I burn my hair off my head. :/...
Compiler Error: Does not like Outlook.CommandBarControls.CommandBarControlPtr.Add