Welcome to MSDN Blogs Sign in | Join | Help

.NET4Office

A blog by Eric Carter

May 2005 - Posts

'missing' in action with C#
When programming in C#--if you want to omit an optional parameter for a method in the Excel object model, you have to pass System.Type.Missing to the parameter: myExcelApp.MethodWithOptionalParameter(System.Type.Missing); When you want to omit an optional Read More...
The assembly * could not be found...
An internal user of VSTO asks: Why can't we give an error message like "Visual Studio 2005 Tools for Office is not installed" instead of the meaningless ""The assembly * could not be found at or could not be loaded..."? The meaningless error message occurs Read More...
A Beta 2 VSTO Issue you may encounter in VB.NET: Me.Range("A1") throws a COMException
In Beta2 we shipped with an unforunate bug that will affect VB.NET users. If you write code like this in a worksheet project item, it will fail with a COMException at runtime: MsgBox(Me.Range("A1").Value) The problem is that when you wrote the code Range("A1") Read More...
Page view tracker