mike mcintyre's

.N e t J o u r n a l

This blog hosted by:
http://blogs.vbcity.com      
  Home :: Syndication  :: Login

AprMay 2008Jun
SMTWTFS
27282930123
45678910
11121314151617
18192021222324
25262728293031
1234567

Archives

Topics

Source Code

{ End Bracket }: C# and VBA: Like Oil and Water -- MSDN Magazine, February 2005. 19 Jan. 2005 .

“Some things just don't mix  as well as you would like. Take C# and Microsoft® Excel 2003 or Word 2003, for example. Not only are these applications huge productivity tools, but they both also provide access to large object models that you can program against from your own applications. The problem is none of the documentation for the object models includes code samples for developers writing managed code, and writing Visual Basic® for Applications (VBA) code is quite unlike writing C# code.”  read more...


Type.Missing, C#, and Word. 19 Jan. 2005

“Recently there was a little bit of a ruckus about the correct way to talk to the Word object model in C# when it comes to missing arguments.  If you've ever used the Word PIAs with C# (Primary Interop Assemblies) you will be familiar with the coding practice below.  For example, this slightly modified example comes from the MSDN VSTO 1.0 documentation--an example of how to spell check a string using the word object model in C#”  read more...

posted on Wednesday, January 19, 2005 1:54 PM