mike mcintyre's

.N e t J o u r n a l

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

DecJanuary 2005Feb
SMTWTFS
2627282930311
2345678
9101112131415
16171819202122
23242526272829
303112345

Archives

Topics

Source Code

Wednesday, January 19, 2005 #

{ 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 @ 1:54 PM