Thank you Andy. That was the issue. As the code was loading up the form I was referencing in the add-in, the initialization routines in the form also needed that line of code. Without that, the form wasn't being created properly and the whole process was failing.
I knew it had to be something relatively simple.
Bookmarks