.NET4Office

A blog by Eric Carter

  • .NET4Office

    FAQ: Why do my forms in my managed add-in or VSTO 2003 look Windows 95-ish

    • 5 Comments
    This is a frequent question that comes up. You develop a managed add-in or VSTO 2003 code behind. You show a windows form and yuck--it looks like Windows XP never happened. The buttons aren't pretty like the Windows XP buttons. Everything looks circa...
  • .NET4Office

    VSTO 2005 Video Magic

    • 2 Comments
    If you haven't had a chance yet to see these great videos that Kathleen has made of VSTO in action, check them out. They're each about 6 minutes long are are really nice glimpses into some of the cool features of VSTO 2005. Keep 'em coming Kathleen! Demo...
  • .NET4Office

    More on getting Outlook to shut down

    • 3 Comments
    I recently posted some code showing how to get Outlook to shut down. I contended that you shouldn't have to call ReleaseCOMObject as is shown in some MSDN articles to get Outlook to shut down. Indeed, David Mortenson who has worked on interop here at...
  • .NET4Office

    This post brought to you by the letter E

    • 0 Comments
    On the very off topic subject of wacky things that happen to developers office's, somehow one of the developers on my team (Mohit Gupta) has acquired a shower curtain complete with pressure rod which he has mounted on his office door. To get in to his...
  • .NET4Office

    Building a Status Report Application With VSTO 2005 & Word

    • 0 Comments
    Another new article on MSDN about VSTO 2005 --this time by J. Jason De Lorme. Jason mentions that VSTO 2005 doesn't support complex databinding against XMLNodes. We did add an "UpdateXML" method (renamed to LoadXML in Beta 2) on an XMLNode that should...
  • .NET4Office

    Cool new overview article on what's new in VSTO 2005

    • 0 Comments
    There's a great new article on MSDN with lots-o-pretty-pictures on what's new in VSTO 2005. Check it out here .
  • .NET4Office

    Getting Outlook to shut down

    • 4 Comments
    I’ve had a number of people ask me how to get Outlook to shutdown properly when you create a managed add-in for it. I alluded to this issue briefly in my last blog . The OnDisconnection method you implement in your add-in’s implementation of IDTExtensibility2...
  • .NET4Office

    Fun with Shimming Wizards, Shimming and Outlook

    • 5 Comments
    As promised, I thought I'd report on my experience with the new Shimming wizards that I blogged about earlier . The wizards are available for download here . I've been working mainly with Visual Studio 2005 Beta 1 and the 2.0 CLR. Silly me...
  • .NET4Office

    Another venue for VSTO 1.0

    • 0 Comments
    A quick plug for another way to get your hands on VSTO 1.0. If you haven't picked up VSTO yet, you should check out Visual Studio .NET 2003 Special Edition . It includes a bunch of extra goodies including Visual Tools for Office 2003 which was previously...
  • .NET4Office

    Add-in Shimming Wizard!

    • 5 Comments
    I've talked at some length in this blog about the importance of shimming your managed add-in so it can live in its own appdomain and not do damage to other add-ins. Also, while I'm on the topic, please don't force a particular version of the CLR--always...
  • .NET4Office

    There be PowerPoint here captain!

    • 0 Comments
    I've updated officewiki ( http://www.officewiki.net ) to include PIA documentation for the PowerPoint PIAs. Go to http://www.officewiki.net/default.aspx/PowerPoint.PowerPointIndex to see the main PowerPoint index.
  • .NET4Office

    Programming Visio, Building Research Services in .NET

    • 0 Comments
    Mai-lan , a lead PM on the Visio team, has started blogging about Visio development issues including tips for .NET development against Visio. She recently blogged about how to improve performance of Visio solutions . Check it out. Also, you should check...
  • .NET4Office

    Simple data binding changes in VSTO 2.0 Beta 2

    • 2 Comments
    [Thanks to Mohit Gupta for his code examples that I quote in this entry] We changed how simple data binding works in VSTO 2.0 Beta 2 from the Beta 1 behavior. As you may know, simple data binding in VSTO 2.0--say binding an Excel named range to a "Name...
  • .NET4Office

    Excel Tetris!

    • 1 Comments
    As a developer in our group said, this isn't a killer enterprise app, it's an enterprise killer app. If you're feeling a little too productive, check out this article by Woo Seok Seo where you are shown how to create a Tetris application in Excel using...
  • .NET4Office

    Problems when a Method and Event name are the same when using C#

    • 2 Comments
    [Editors note: Blogging is slow right now because we are really heads down trying to get Beta 2 of Visual Studio 2005 ready for you.] You may have run into this issue in Beta1 of Visual Studio 2005. I thought I might blog about it. If you wrote this code...
  • .NET4Office

    Parameterized Properties in C# and the mystery of Value2 in Excel

    • 3 Comments
    One of the mysteries in Excel customization code that I see written by C# developers is the use of the "Value2" property to set the value of a Range in Excel. Why do C# developers use this wacky Value2 property? Most VB programs you see written against...
  • .NET4Office

    FAQ: Can I use the Office XP PIAs with Office 2003?

    • 0 Comments
    In my previous post I wrote this--but then removed it: "Note that the Office XP PIAs will work against either Office XP or Office 2003. This is because the PIAs are backed by the COM object models of Office that are versioned in such a way that the OM...
  • .NET4Office

    FAQ: Where are the Office PIAs?

    • 0 Comments
    This has become a frequently asked question--where are the Office PIAs? The Office XP PIAs are available here: http://www.microsoft.com/downloads/details.aspx?FamilyId=C41BD61E-3060-4F71-A6B4-01FEBA508E52&displaylang=en The Office 2003 PIAs are available...
  • .NET4Office

    Converting Excel Dates to .NET DateTime

    • 2 Comments
    Just when I thought it was safe to write .NET code in Excel, Mohit Gupta and Eric Lippert opened up for me a whole new world of horrible world of dates in Excel. Mohit recently added code similar to this snippet to our code tree to convert Excel dates...
  • .NET4Office

    Changes to a range

    • 0 Comments
    [Editor's note] I've been on leave from Microsoft but I'm back now so postings should be more frequent again. In VSTO 2.0 you can create a named range on a worksheet and write code behind that named range. Say you have a sheet called Sheet1 that has a...
  • .NET4Office

    It's all about the beta baby!

    • 0 Comments
    Well, we did it--we finished beta 1 of VSTO 2.0 (aka VSTO 2005). And it can now be yours for the price of shipping and handling. What's in the Beta To quote Andrew Whitechapel who is presenting on VSTO 2005 at Tech Ed Europe this week, “There...
  • .NET4Office

    A quick look at adding view controls and managed controls at runtime

    • 1 Comments
    One late breaking feature in VSTO 2.0 is known as dynamic controls. This is a feature that allows you to add managed controls (think buttons, labels, calendar controls) and view controls (think controls that are 'built-in' to the host like Range and ListObject...
  • .NET4Office

    Where do you want F5 to go today

    • 0 Comments
    VSTO 2.0 has an interesting feature that lets you decide whether Visual Studio or Excel/Word handle accelerator keys you press (like F5). Because of VSTO 2.0's feature where the Excel document opens inside of the Visual Studio frame, there is some...
  • .NET4Office

    More VSTO 2.0 Managed Controls

    • 4 Comments
    So you've (hypothetically) installed VSTO 2.0, you create a new Excel project, and you drag and drop a managed windows forms button onto the Excel worksheet. How does this magic work? The first clue is seen in the formula bar. You might see this text...
  • .NET4Office

    People to schedule at Tech-Ed--put Rio to work for you

    • 0 Comments
    There are a bunch of people going down to Tech-Ed from my team. I was originally going to be one of them, but things have gotten too busy trying to get VSTO 2.0 shipped, and I got bumped from the list because of my responsibilities here at work. Waaah...
Page 7 of 9 (214 items) «56789