Retrieving the COM class factory for component with CLSID {XXXX} failed due to the following error: 80040154
In VS – project properties – in the Build tab – platform target =X86
In VS – project properties – in the Build tab – platform target =X86
Are there any disadvantages using the IDisposable Interace Sure, it accomplishes absolutely nothing. Using Using or calling Dispose() is never an appropriate way to set a variable to Nothing. Which is all that your code does. We completely avoid to use the two dot rule. Feel free to continue to ignore it, it is nonsense … Read more
How do I properly clean up Excel interop objects?