View Single Post
  #10  
Old March 26th 08, 05:14 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Save a Form Region Content

There are two issues here -- design of the region and loading it in the add-in. The loading for VS2008 is covered in the MSDN article at http://msdn2.microsoft.com/en-us/library/bb608611.aspx

The critical issue in the design is that each control that you want to use for entering data to be stored permanently needs to be bound to an Outlook property. Do that on the Value tab of each control's properties dialog, in the Outlook designer. Once you do that, data that the user types into the region's controls will automatically be saved with the item. In other words, no code will be needed to add properties or save the item.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"morna" wrote in message ...

My problem here is I did build the form region through Outlook
designer and I have an MSEvent.ofs file for the form, however, I have
never been able to work throught the load process for the form to get
it to display in Outlook. I have issues with the manifest.xml file
and the regedit enters. I even purchased a book "Professional Outlook
2007 Programming" by Ken Slovak. I look hard at your book "Outlook
2007 Programming" but the editior's comments and your comments on
Amazon said it was not really for programming more for
administration. Can you point me in a direction - a website or a book
that outlines loading a *.ofs file into an addin and working with the
saved content of the form....I reviewed several other books that
perhaps would cover the form regions, however, have found nothing that
could really help get this up and running.

Ads