About Me · Send mail to the author(s) E-mail · Twitter

At GROSSWEBER we practice what we preach. We offer trainings for modern software technologies like Behavior Driven Development, Clean Code and Git. Our staff is fluent in a variety of languages, including English.

Feed Icon


Open Source Projects


Blogs of friends

Now playing [?]

Error retrieving information from external service.


Smart Tags and Visual Studio 2005 beta 2

Posted in Office | Visual Studio at Wednesday, 19 October 2005 01:54 W. Europe Daylight Time

Yesterday I started writing my first and rather simple Smart Tag for Office 2003. It's supposed to be nothing sophisticated, just a little demo that will be used by my colleagues Jörg and Karsten in their current research projects. These projects are about information retrieval and the proper presentation to the information worker based on the current task. You may be reminded of PreBIS, but in my opinion the current project takes the notion developed by PreBIS a step further. To get the picture, imagine you're writing on a corporate document. A Smart Tag pops up telling you there's something interesting about the topic you're working on. After you clicked on it you'll see a list of related items and resources that may support you completing the task efficiently. These resources are shared by all corporate users and grow over time based on experience employees gain.

Back on topic: I downloaded the Smart Tag SDK, added Smart Tag programmability support by installing the Smart Tag PIAs using Office setup and started implementing my solution based on the C# walk-through. After tackling some deployment and CAS issues everything seemed to be set up properly. I started the debugger. After some seconds Word came up and closed almost immediately. What went wrong? I tried again. Word was still exiting. After rebooting the machine still nothing changed. I tried tracking the problem down setting up a CAS policy that allowed all code to run under FullTrust but to no avail. The debugger hit not breakpoints and catched no exceptions (although explicitly set via Debug -> Exceptions [Link]).

I headed to Google searching for a solution. After an hour of trial and error testing questionable solutions I finally found this article on Google Groups stating that after removing the beta of Visual Studio 2005 Smart Tags work again. What do Office and VS 2005 have in common? Nothing I thought. I decided to give this solution a try and uninstalled VS. And, behold, my Smart Tag solution was running as expected for the first time!

Lessons learned: Always install betas inside a Virtual Machine, although they might be slowed down until virtually unusable.

Now playing: Big Bud - Producer 07 - High times

Friday, 02 May 2008 20:25:42 (W. Europe Daylight Time, UTC+02:00)
uncoy artlfvg gqfwumz cflghx ymgci bdqyxztuj vemrtdchw
All comments require the approval of the site owner before being displayed.
(will show your gravatar icon)
[Captcha]Enter the code shown (prevents robots):

Live Comment Preview