You are attempting to add some object to the HashTable collection with a specific key value, but the HashTable collection already contains an object with that key value.
From the looks of it, some line of code is generating a key value of -1 under certain conditions.
Trace back to where you...
It would seem the SetValue function is not working as advertised.
Create a project and drop a Command button on it
Then past the following into the code and run it. If it works for you, I would like to know what I'm doing wrong???
Thanks in advance for any help!
If I can get this to work, I...