About Me ·
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.
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
a@href@title, blockquote@cite, em, strike, strong, sub, sup, u
Page rendered at Thursday, September 29, 2016 1:47:47 PM (W. Europe Daylight Time, UTC+02:00)
newtelligence dasBlog 2.3.257.0
© Copyright 2016, admin
The opinions expressed herein are my own personal opinions and do not represent
my employer's view in any way.