.NET4Office

A blog by Eric Carter

  • .NET4Office

    Type.Missing, C#, and Word

    • 11 Comments
    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...
  • .NET4Office

    So what are these Host Controls you speak of?

    • 9 Comments
    Host controls are at the heart of the VSTO 2.0 programming model. What are they, how and when do you create them, and what do they do for you? What is a Host Control? We provide several host controls in the VSTO 2.0 programming model. For Excel, we...
  • .NET4Office

    Bear and the berries

    • 11 Comments
    I talked to a Really Smart Guy TM at Microsoft yesterday about community and Microsoft's efforts in the community. The question I was trying to get answered was--is Microsoft approaching community in the right way? Would a Microsoft employee's time...
  • .NET4Office

    Eric Lippert

    • 1 Comments
    Eric Lippert, who has singlehandedly done more for purple Lucida Sans Unicode than anyone I know, links to my blog http://blogs.msdn.com/ericlippert/archive/2004/04/09/110556.aspx . Although he's got plenty to blog about already, hopefully he will...
  • .NET4Office

    Bookmark View Control

    • 1 Comments
    I hinted at View Controls and what they are in a previous post. I plan to blog some more about them. In the mean time if you want to read to the end of the story, there's an interesting article on one of the view controls we create for Word in VSTO...
  • .NET4Office

    More ReleaseCOMObject

    • 1 Comments
    Siew Moi Khor, who is an awesome contributor to the Office development community, points this out about the shim approach: “Using the shim also means the config file can be placed in the same directory as the assembly, instead of the office app...
  • .NET4Office

    Who am I

    • 2 Comments
    I just realized that I should maybe provide a little better idea of who I am and what I do. My name is Eric Carter--I'm a Development Lead at Microsoft. My team and I are currently working on Visual Studio Tools for Office 2.0. My team (which fortunately...
  • .NET4Office

    I'll be there

    • 3 Comments
    You may have noticed my “I'll be there” picture.. I'll be there--isn't that like a really bad Michael Bolton song or something of that ilk? Anywhoo, I'll be at Tech-Ed this year talking about VSTO 2.0 mainly, but I'm sure I can help you...
  • .NET4Office

    ReleaseCOMObject

    • 3 Comments
    Andrew Whitechapel has some interesting advise on using ReleaseCOMObject when writing managed code that automates office: http://blogs.officezealot.com/whitechapel/ . Andrew knows a lot about COM interop against Office and I trust what he says. But...
  • .NET4Office

    Data/View/Host Separation in VSTO 2

    • 1 Comments
    In the past, the only option an Office programmer had when developing a customized document was to write code against the generic general purpose API provided by the Office application. As part of VSTO 2.0, we generate a view and data programming model...
  • .NET4Office

    MSDN Webcast on Data and Databinding in VSTO 2

    • 4 Comments
    A member of my team, Muhammad Arrabi, is giving an MSDN webcast tomorrow on VSTO 2. http://go.microsoft.com/fwlink/?LinkId=25936 Go give him a hard time for me J MSDN Webcast: Data and Databinding with Visual Studio Tools for Office Version 2...
  • .NET4Office

    When is .NET for Office?

    • 6 Comments
    Thomas Williams asks “When is .NET for Office..I’m sick of using VBA!” Good question! To some extent, .NET for Office is here today. This year, my team released a new product in the Visual Studio product family with the mind-numbingly...
  • .NET4Office

    Some good "bad" examples and a good "good" one

    • 4 Comments
    WRT the problem of the abstraction bar being set wrong in the Office object model, here are two good “bad” examples, and a good “good” example of where the abstraction bar could be moved to. Currently, to create a table in Word...
  • .NET4Office

    Office Object Model Thoughts

    • 5 Comments
    Currently, one of the greatest obstacles faced by Office developers is the difficulty of using the Office object model. Just calling the object model the “Office object model” is incorrect—it is really several separate object models...
Page 9 of 9 (214 items) «56789