Thanks, cardin:

I have solved the problem. It appears I was using a corrupted file. the button I used was causing the null object reference.

When I replaced it with a button from another version the code executed and my trace statements appeared in the output window.
Thanks you for your help!!

Rick