What is the difference between ...
I have two systems both running the same version of VS 2003 w/VSTO 2003 on XP. Only difference is oneVB Code:
Option Explicit On Option Strict On Imports Microsoft.Office.Interop Public Class Blah '... 'And Option Explicit On Option Strict On Imports Microsoft.Office.Core Public Class Blah '...
is XP SP1 and the other is XP SP2. Now if on the system without the .Interop namespace some Office code will give
errors. I have to end up only importing just the Microsoft.Office namespace only.
Here is the code in question.
And on the working system -
The XP SP1 system only shows the Core namespace.
Is there any reason that I should not import the entire Office namespace?
Thanks for any insight into this.





Reply With Quote