by David | Jan 26, 2012 | Debugging, Development
I just went through 2 hours of painful troubleshooting my devenv thinking the loading of debug symbols had broken. Whenever I ran my test a couple of breakpoints would hit and then suddenly it would quit the test with a positive result. Whut?! I thought.. then...
by David | Jan 19, 2012 | Development, Word Automation
I doubt anyone will ever experience this but perhaps my solution might help someone who happens to fall into the same pit of COM-debugging hell as I have. I´ve got some tests where I use Word Automation to start an application and modify some documents. The documents...
by David | Jan 18, 2012 | Development, Word Automation
In this post I´m going to quickly describe a method to call a VBA 6 macro in a Word document from your VSTO add-in and the opposite, calling a method in your VSTO from a Word macro. The method for the latter was supplied in this post for which I can´t take any credit...
by David | Oct 27, 2011 | Deployment, Development
I just recently learned that you can distribute WPF-application web-wise using something called XBAP. You create a project in Visual Studio named WPF Browser Application and you´re on the road. However, there are a couple of things to take in consideration. By default...
by David | Sep 15, 2011 | Development, Word Automation
When developing a VSTO-project you will probably sooner or later run into a case where you need to debug the project in two different versions of Office. One solution is to trigger the start of Word using a debug-setting in the project file: Update 18/8 2014:To...