MSDN Magazine Launch Issue - February 15, 2008 - (Page 62) database (or in the case of the example above, the Sales.mdb database) into the data grid. You can then click the Show Sales Data checkbox to display the sales data for the selected company. Note that you can either select the company directly in the data grid or you can use the navigation strip along the bottom of the SalesSearch control to browse back and forth across the data. Each time you move across the data, the sales chart is automatically updated. Cool stuff! You have available to you all of the code that goes along with this article, so feel free to experiment as you see fit. Further, we have created an online hands-on lab that walks you through an application similar to the one described in this article if you want some prescriptive guidance Figure 14 Final Custom Outlook Replacement Form Region (with WPF Chart Visible) on how to build Outlook form regions. now build and run the project. Visual Studio will build the solution You can find this hands-on lab on the VSTO Developer Portal at msdn2.microsoft.com/aa905533. I also encourage you to check out OBA and, in doing so, launch Outlook and run the add-in assembly. To navigate to the custom Outlook Replacement form region, Central (obacentral.com), a Web portal dedicated to showcasing and you click File, New, and Choose Forms. This will open the Choose educating you on all things OBA. Further, you might also pick up Forms dialog that lists all of the custom Replacement forms that are my new book, Programming Microsoft Office Business Applications installed on that client. In this case, you’ll see that the Recent Sales (Microsoft Press®, 2008), which provides in-depth information on form is the only one available in the custom Replacement form re- how to develop and deploy OBAs. OBA is an exciting area in Office development that you will surely hear more about in the future. gion library. To open the form region, select it and click Open. As a final note, I’d like to thank Lori Turner (who helped with the At this point, Outlook will open the form, and what you should see is something similar to Figure 14. To test out your form region, coding and the online labs), Mike Morton, and Andrew Whitechapel ■ click the Search button. It should load all of the data within your for reviewing this article. Further Reading 62 msdnmagazine Office Business Applications http://msdn2.microsoft.com/aa905533 http://obacentral.com
For optimal viewing of this digital publication, please enable JavaScript and then refresh the page. If you would like to try to load the digital publication without using Flash Player detection, please click here.