Accessing Application.WordBasic property produces invalid cast result (2017-10-25 13:05 by chadknudson #80376)
I wrote a little addin using Microsoft's Interop and was trying to reproduce the issue that I was having with accessing the WordBasic property off of the Application object. Any time I access the WordBasic property I receive an invalid cast error.
I thought perhaps my issue was that I was incorrectly trying to use the InvokeMember method to call functions in WordBasic. With the Microsoft Interop I was able to create a small WordBasicHelper that enabled me to make calls to DisableAutoMacros and this worked fine with Microsoft's office interop but NetOffice produced the dreaded Invalid Cast when trying to make the assignment: