S
Soulman
I’m trying to write SmartTags for Office XP using managed code (I’m using C#) and I’m running into problems using the SmartTag property bag (ISmartTagProperties). Specifically passing or receiving an empty/null string generates a ComException.
If I try to pass an empty string (or null) to ISmartTagProperties.Write (in order to delete a key value pair) I get "The parameter is incorrect.". If I try to read a nonexistent key (according to the documentation I should get Null) I get "Unspecified error". It seems to me that the official PIA just isn’t up to scratch, should I just generate and tweak my own COM wrapper? This is really frustrating!
James
If I try to pass an empty string (or null) to ISmartTagProperties.Write (in order to delete a key value pair) I get "The parameter is incorrect.". If I try to read a nonexistent key (according to the documentation I should get Null) I get "Unspecified error". It seems to me that the official PIA just isn’t up to scratch, should I just generate and tweak my own COM wrapper? This is really frustrating!
James