A
Andrew Fiddian-Green
The Word Dictionary object comes in two flavours: 1) "read only"
dictionaries (based on .lex files) and 2) "non read only" dictionaries
(based on .dic files).
Indeed in Word automation you can check if a dictionary is "read only" by
means of the respective ReadOnly property.
But -- here is the mystery -- even if Dictionary.ReadOnly = false, it seems
that there is absolutely nothing that you can actually do to write a new
word into the dictionary! (or delete an existing word from it)i.e. there are
no AddWord or DeleteWord methods...
Questions:
1. Am I right or am I wrong?
2. Is there a work around for adding words to a "non read only" dictionary?
3. If not, then why on earth does Microsoft bother to publish a totally
useless ReadOnly property??
Regards,
AndrewFG
dictionaries (based on .lex files) and 2) "non read only" dictionaries
(based on .dic files).
Indeed in Word automation you can check if a dictionary is "read only" by
means of the respective ReadOnly property.
But -- here is the mystery -- even if Dictionary.ReadOnly = false, it seems
that there is absolutely nothing that you can actually do to write a new
word into the dictionary! (or delete an existing word from it)i.e. there are
no AddWord or DeleteWord methods...
Questions:
1. Am I right or am I wrong?
2. Is there a work around for adding words to a "non read only" dictionary?
3. If not, then why on earth does Microsoft bother to publish a totally
useless ReadOnly property??
Regards,
AndrewFG