Ressurecting an old post...Anyone got any other snippets or samples that demonstrate this? The above code works but there is a small inaccuracy that I don't understand.

Any help is much appreciated.