Develop Office Client Applications using Visual Studio
Hi Folks! If you're not one of the 4,000 professionals attending DevConnections in Las Vegas, then never fear! You can see my demos and learn about my session "Office Development with Visual Studio 2008" from this blog entry!
VS 2008 lets you target Office 2003 or Office 2007. We recommend that you only install one version of Office on your development computer. If you find yourself developing for both versions often, then I suggest creating a dual-boot computer with Office 2003 on one boot, and Office 2007 on the other. If you develop mostly for one version, and occasionally target the other, then a Virtual PC image would be fine, if you have enough RAM. I have 2Gig on my laptop, which is not enough for a VPC running Visual Studio. My desktop computer back in Redmond has 4G, which is plenty.
FAQ: If you choose to ignore my recommendation and have 2 versions of Office on your development computer, then you may have some weirdness when you try to Debug and the debugger loads the wrong versions of some Office DLLs. If you try to open an Office 2003 project and you keep getting the Upgrade Wizard, and you don't want to, then uncheck the "Always Upgrade" option in the Tools\Options dialog as shown in this funny video and in this photo below:
Check out this really nice VBA Interop demo by my Scottish colleague, The Moth!
This part of my demo failed on Tuesday because my security ticket had expired, which made my Windows Authentication login to the database fail. The problem was that I last received an Active Directory authentication on Friday afternoon when I logged in to my domain in Redmond, Washington. Then I flew to Vegas and worked on my laptop without logging in to the corporate domain. By Tuesday afternoon my kerberos ticket had expired, which made my Windows Integrated Security database logins fail. A failure like that in front of an audience of 100 people is an EPIC FAIL! Oops.
In conclusion, I will in the future use SQL Authentication instead of Windows Authentication for demonstrations when I am on-the-road for conferences.
I hope this information is useful as a reference for those who attended my session and for those of you who were unable to attend.
-Christin Boyd, Program Manager
PingBack from http://ms-office.yourbloggingpro.com/2008/11/devconnections-conference-vsto-session-demos.html