18-January-2010
Currently I am working on upgrading an existing complicated spreadsheet which makes extensive use of VBA. It is used for formulae prototyping and then the code is translated (manually) into C#. This is far from ideal not to mention slow so I am converting it to use VSTO.
Personally, I am not a big fan of VSTO it feels like a hack to allow .Net developers to extend Office applications (usually Excel). But under the hood it is basically wrapping the code into a COM wrapper to allow it to work. Can you believe that after ten years of .Net, there is still no native support for .Net inside Office applications. Ok, thats my rant for the day.
The process is pretty straight forward, using the templates provided in Vs2008, however there are a number of "gotchas" I thought I would record for when I come back to this project some months later and wonder why.
|