Misha Shneerson

VSTO internals and the little things about CLR, COM, Visual Studio and more ...

Browse by Tags

Tagged Content List
  • Blog Post: VSTO performance tips

    If you are writing a VSTO customization - make sure you aware of this performance tip courtesy of Steve Peters - developer on the VSTO team. This tip allows to prevent VSTO runtime from reflecting on your entry point assembly. We see considerable startup improvements especially for add-ins that have...
  • Blog Post: Design of VSTO 2010 runtime

    When migrating VSTO solutions targeting .NET 3.5 to .NET 4.0 people are noticing some design changes. Our documentation on migration puts it pretty straightforward about this and does not explain the underlying reasoning for these changes: "If the target framework of an Office project is changed to...
  • Blog Post: VSTO 2005 Second Edition - hot off the press

    VSTO 2005 Second Edition Beta (aka VSTO2005SE) - this is a new free product that complements VSTO 2005. See this announcement from KD Hallman if you want to know general details about the product and the roadmap. I am here to discuss technical details of what it is. First of all - there is a new design...
  • Blog Post: Must read for everyone trying to deploy VSTO solutions

    I am breaking the silence to get the word out (to those loyal souls that still aggregate my blog) about 2 articles on VSTO deployment. First article is an in depth overview of VSTO deployment models and proposed solutions. The second one is a complete walkthrough for setup project creation with code...
  • Blog Post: Spaces in SmartTag.Terms collection

    When you add non-terms into the SmartTag.Terms collection do you expect those terms to be recognized? If you do this is a false expectation. The simplest code to add a SmartTag to a Word document looks like this: private void ThisDocument_Startup( object sender, System. EventArgs e) { SmartTag st...
  • Blog Post: Getting help on VSTO topics

    This post is prompted by a comment left yesterday on my blog. The comment was quite big in size. It went something like this - "my assembly has an ActionsPane and can not be loaded, here is the error message I am getting .... ". This brief introduction was followed by 300 lines of the VSTO error message...
  • Blog Post: managed addins support in Office 12

    At the PDC we have announced support for managed Add-ins across most Office applications. Superficially it is not real news considering today we already have "Shared add-in" project. This project type is there since Visual Studio .NET and this thing is still alive for VS 2005. However, the devil is in...
  • Blog Post: Back from PDC

    I am back from PDC and I can finally post to my blog! I was not able to do it from LA because 2 weeks before PDC I accidentally ran over my laptop with my van. No surprises here - the laptop is quite useless now. So in LA I had access to computers only at the Convention Center and there I was busy chatting...
  • Blog Post: VSTO PDC sessions

    PDC is just in a week and I will be there. I will present during the preconference with Eric Carter and Andrew Whitechapel . The reason three of us are doing this session is because it is 6 hours long! Since we all work directly on the VSTO code base, get ready for deep coverage and bring your toughest...
  • Blog Post: Getting plain VSTO ActionsPane to work.

    Adding programmable task pane aka ActionsPane with VSTO is a piece of cake. All you really need to do is just add controls to the ActionsPane object using the familiar WinForms paradigm. Here is how you would show a button on the task pane in Word. Globals.ThisDocument.Controls.Add(new Button());...
  • Blog Post: Back from vacation. ActionsPane, Part 0.

    I took some time off from work for a family vacation. We spent our relaxation week on Vancouver Island in Canada. Here is more info since already couple of people have asked. The place we stayed at is called Beach Acres in Parksville, BC. We rented an ocean view unit with kitchenette and 2 bedrooms....
  • Blog Post: NewsGator and VSTO Outlook support

    Until recently people had "tough" choice to make - in your Outlook either run NewsGator or Outlook COM Add-ins with VSTO support. Both of these did not work together. This is because NewsGator did not support .NET Fx 2.0 which is required by VSTO. Now .NET Fx 2.0 is supported by NewsGator and the...
  • Blog Post: Closing Documents Programmatically is not simple

    Both Word and Excel OMs have APIs that allow closing documents programmatically. I suppose there are some scenarios when people would like to call ThisWorkbook.Close() from within their document customizations. This has some interesting effects when such call is made from within managed VSTO customizations...
  • Blog Post: Menus for VSTO Smart Tags are dynamic

    One quick tip today. Since VSTO Beta2 we have added SmartTags support for document level customizations. How to create those is covered by Paul Stubbs here and in a video tutorial here . However what is not obvious is that one can dynamically change the caption on the menu items displayed for a particular...
Page 1 of 1 (14 items)