.NET4Office

A blog by Eric Carter

April, 2004

  • .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

    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

    VSTO 2.0 and Cached Data: Goodbye Hidden Sheets, Hello Server!

    • 10 Comments
    Paul Cornell blogs about cached data in VSTO 2.0 . I gotta tell you—cached data is one of features I’m most excited about in VSTO 2.0. First some background: Office programming is different from traditional WinForms programming...
  • .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

    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

    Advice for Emerging Platforms

    • 6 Comments
    If I was to go work for another team inside Microsoft right now, I think the team I’d be most tempted to work for is the Outlook team. Why?—because in my opinion at least, Outlook is the next big emerging developer platform at Microsoft...
  • .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...
  • .NET4Office

    More about the VSTO 2.0 Programming Model--introducing Views

    • 5 Comments
    I wrote in some detail about view controls earlier. My hope in this entry is to give you a slightly higher level view of the programming model and to introduce the concept of views. To begin, we will examine the programming model created in VSTO...
  • .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

    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

    You're living in your own private AppDomain--or at least you want to be.

    • 4 Comments
    Sam Gentile blogs about ReleaseComObject --between Sam and Andrew Whitechapel I think they have covered this area well. However, from the standpoint of Office development and add-ins for Word, Excel, etc., the best policy is to stay out of DefaultDomain...
  • .NET4Office

    MSDN Webcast on Visual Studio Tools for Office Version 2: Developing Word Solutions

    • 4 Comments
    Kathleen McGrath is doing an MSDN webcast on VSTO 2.0 and Word tomorrow, Tuesday April 27th, at 11 AM PST. Description: “This webcast will demonstrate how to use the new actions pane, provided by Microsoft® Visual Studio® Tools for...
  • .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

    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

    Have you tested your product over lunch break?

    • 3 Comments
    We had some interesting bugs recently in VSTO 2.0 that basically involve letting the product sit for a while--like over lunch break--without doing anything. Testers and devs hate this kind of a bug: Do X, do Y, wait 5-15 minutes, do Z. But if you are...
  • .NET4Office

    Even More ReleaseComObject

    • 2 Comments
    Andrew Whitechapel posts an exhaustive blog on when to use ReleaseComObject in Office add-ins. Bottom line for me: “If you’re sharing an AppDomain with someone else you should probably never RCO, because other components in the AppDomain...
  • .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

    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

    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

    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

    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

    Why Use VSTO?

    • 1 Comments
    Chris Kunicki has a great blog entry on why to use VSTO . This post is several weeks old, but still worth the link. There is a lot of value in VSTO 1.0--I've been blogging a lot about VSTO 2.0, but I will try to add some more information about VSTO...
  • .NET4Office

    Tips and Tricks for Office

    • 1 Comments
    PC Magazine posts 106 tips and tricks for Office . There's so many obscure things here that I've never heard of--like holding down the shift key when picking the file menu in Word--it gives you a “Close All” command. Someone should put...
  • .NET4Office

    Word XMLNode and XMLNodes View Controls

    • 1 Comments
    Paul Cornell blogs about the view controls we create for you in VSTO 2.0 when you schema map a schema into a word document.
  • .NET4Office

    We're all sharing the same process--let's play nice

    • 0 Comments
    This is kind of like the story where the mother tells her kids “While I’m gone, don't climb up onto the countertop, open the cupboard door, take the beans off the top shelf, and stuff the beans up your nose." I’m going to tell you something...
Page 1 of 2 (31 items) 12