I am trying
to execute samples at http://msdn.microsoft.com/office/tool/vsto/2005/download/
but this results me with a problem at the following line of code,
Globals.ThisApplication.ServiceRequest += new
EventHandler<Microsoft.Office.Tools.ServiceRequestEventArgs>(ThisApplication_ServiceRequest);
Any ideas I am targetting Outlook 2007 in the office family, and the error text reports that [ 'ThisApplication' does not contain definition for 'ServiceRequest' ] Furthermore, this has been the case with not only Ribbons but Form Regions also.
Thanks in advance ...

ServiceRequest Failed
sdflksdfsda sdfklsdf sdk ksdfk s
Real problem is that I dont find any documentation for ServiceRequest event, also the intellisense is sense-less in this regard. Hope this clears the matter.
testuser1
I suspect you're mixing the code from two different releases. In the first VSTO v3 CTP in March 2006, the code required to hook up a ribbon including setting the RequestService event. However, in the June CTP this was streamlined so that you no longer need to do that. The June CTP includes an updated tutorial document that includes details of how to setup a ribbon, task pane and form region using our new IServiceProvider implementation.
John Doh