Random Technical Stuff RSS 2.0
 Wednesday, April 02, 2008

I wanted to thank everyone that showed up for my presentation on Office Development with Visual Studio in both Denver and Phoenix.  I wanted to put together a follow up with code samples if you are interested in digging into the topic further.

  • The first demo that I did was a Word add-in that hooked into a set of web services.  I have a posting with a how to video about creating a Word add-in here (requires the Silverlight runtime).  The specific demo that I did in Denver wires up a Word Add-In to the Northwind database.  I have posted that code here - you will need to download and install the Northwind sample database and set the connection string to get it working.  The sample I used in Phoenix was slightly different and was dependent on services that were created in other sessions.  If you were in Phoenix and want to look at some working code go ahead and download the sample above.  It is pretty much the same as the demo I did in Phoenix but hooks into a database directly rather than consuming services.  I have posted the code I wrote in Phoenix here, but the code will not work without the services back end so it would be reference code only. I also showed how to lookup the Office Icons using the Office Developer Power Tools in Phoenix.
  • In the second demo I created an Outlook add-in with some ribbon customizations and an Outlook form region.  Because the code I used in both Denver in Phoenix was dependent on the other sessions I don't have a working add-in to post.  However, I have posted the code here for you to download if you want to just see the code. 
  • In my third demo I showed how you could use System.IO.Packaging to manipulate Word documents on the server without needing to actually run Word on the server.  In Denver I used a sample that is posted here and should just work because the data is encapsulated within the project.  I have also posted my demo from Phoenix here but again it is dependent on other services so the code would be for reference only.  If you are interested in this method of working with Office documents on the server, there is a good MSDN article about this.  I also use the Word Content Control Toolkit to show how arbitrary XML can be databound to Content Controls within Word.

Hopefully you enjoyed the session and found it worth your time.  If you found this session interesting, I would recommend exploring the Office Developer area of MSDN to drill into any of the topics we discussed during the session.

2-Apr-2008 8:29 AM  #    Comments


Wednesday, April 09, 2008 11:15:17 AM (Mountain Standard Time, UTC-07:00)
Hey... wasn't that you running through the Phoenix airport like you were really late for a presntation last week? :)
Innocent Bystander
Comments are closed.
Archive
<September 2008>
SunMonTueWedThuFriSat
31123456
78910111213
14151617181920
21222324252627
2829301234
567891011
About the Author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

© Copyright 2008
Joe Shirey
All Content © 2008, Joe Shirey