.NET4Office

A blog by Eric Carter

  • .NET4Office

    OfficeWiki.NET now has Outlook PIA docs

    • 3 Comments
    Hi all. I'm spending the weekend doing some Outlook managed add-in stuff, so I decided to generate some wiki pages on OfficeWiki.NET for the Outlook PIAs to help me in that effort. I also updated the other wiki pages for Word and Excel and Core to...
  • .NET4Office

    VSTO 2.0 Managed Control Support: Primary and Extender

    • 6 Comments
    VSTO 2.0 has a feature that allows you to embed any WinForms control you want into an Excel spreadsheet or Word document. This lets you use lots of powerful WinForms controls in your Office solution. When you add a managed control to your document (by...
  • .NET4Office

    Introducing OfficeWiki.net - An experiment in community Office PIA documentation

    • 5 Comments
    You may be aware that there isn't documentation available right now for the Office PIA's (Microsoft.Office.Interop.Word.dll, Microsoft.Office.Interop.Excel.dll, and Microsoft.Office.Core.dll). There will be official Microsoft documentation available at...
  • .NET4Office

    Excel PIAs: Who you calling Dummy--Dummy?

    • 5 Comments
    When you look at the Excel PIA in the object browser in Visual Studio, you will quickly notice what appears to be method centric name calling: a slew of methods with the text “Dummy” in them. There's even an interface called IDummy (implement...
  • .NET4Office

    Coming to grips with the mess of types in the Office PIAs

    • 5 Comments
    Have you ever looked at the Excel PIA “Microsoft.Office.Interop.Excel” using the object browser in Visual Studio and just been blown away and confused by what you see there? For example, consider what .NET Interop does to the simple...
  • .NET4Office

    VSTO 2.0 Data Story

    • 1 Comments
    Paul Cornell blogs about the VSTO 2.0 Data Story including lots of pretty pictures . Tasty! All that's missing is a this.List1.DataBodyRange.Columns.AutoFit(); -- that would make the columns in the last picture size to fit the contents. Also, in...
  • .NET4Office

    Fun with Excel--setting a range of cells via an array

    • 6 Comments
    A developer on my team was recently trying to set the contents of a small column of excel cells to an array of values. This is a desirable thing to do—if you are setting a range of values in Excel, it is much better to create an array and make one...
  • .NET4Office

    Another VSTO 2.0 Webcast--second chance to see a live webcast on developing Word solutions

    • 0 Comments
    There's another live webcast by Kathleen McGrath on VSTO 2.0 and Word this Wednesday. This is the same content as the one I blogged about earlier and that Chris Kunicki blogged about . If you didn't catch the first live webcast, check this one out...
  • .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

    We forgive you Chris

    • 0 Comments
    Chris Kunicki posts a funny blog about how he originally provided some luke-warm feedback on the VSTO 2.0 feature where we put the Word/Excel document right inside the Visual Studio frame. Now he's seen the error of his ways and loves the feature :) ...
  • .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...
  • .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

    Even More Smart Documents--VSTO2 Style

    • 0 Comments
    Clearly today is ActionsPane day! Paul Cornell blogs on VSTO2 support for putting custom UI into the Office Task Pane . In this case, he gives an example incorporating Word, the calendar control, bookmarks, and Visual Studio Tools for Office 2.0...
  • .NET4Office

    Smart Documents--VSTO2 Style

    • 0 Comments
    Chris Kunicki --Office developer extraordinaire-- blogs about Smart Documents VSTO2 style . VSTO2 makes it super easy to put your custom winforms UI into the Office Task Pane--like 1 line of code easy (repeatedly press Ctrl+F1 while inside of Word...
  • .NET4Office

    Word, XML, and VSTO 2.0 View Controls

    • 0 Comments
    Paul Cornell blogs about the view controls we create for you in VSTO 2.0 when you have XML structure in your Word document . A couple of additional notes I would add: UpdateXML: One of the cool additional things we added to XMLNode is a new method...
  • .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

    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

    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

    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

    OneNote 2003 SP1 has an Object Model

    • 0 Comments
    Andrew May blogs about some great news. OneNote 2003 SP1 will have a simple object model . All you frustrated programmers wanting to integrate with OneNote--here's your chance!
  • .NET4Office

    Learn VSTO 2003 (1.0)

    • 0 Comments
    Want an easy way to learn about Visual Studio Tools for Office 2003 (1.0)? First, get your hands on a copy of Visual Studio Tools for Office 1.0 and install it. It is part of MSDN Universal or can be purchased separately. It doesn't install with the...
  • .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

    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

    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

    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...
Page 8 of 9 (214 items) «56789