View Single Post
  #4  
Old July 19th 07, 01:50 PM posted to microsoft.public.outlook.program_addins
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default FormRegion setup question

Sorry, I missed the part about it being an add-in. (D'oh! I should have checked the newsgroup name.) If you were not using an add-in, you'd specify the path in the the layoutFile element:

layoutFile%ProgramFiles%\Addin\Addin.ofs/layoutFile

In an add-in, though, you load the .ofs file in the GetFormRegionStorage event handler, usually from a resource that's part of your add-in project. See http://blogs.msdn.com/andreww/archiv...nmanifest.aspx
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"Christian Havel" wrote in message ...
Hi Sue,

thanks for your help!
Can you please send me an sample how it have to look in the manifestfile?

Thanks Christian

"Sue Mosher [MVP-Outlook]" wrote:

It can be any folder. Specify the location in the region's manifest. You can also load them as resources.


"Christian Havel" wrote in message ...
Hi,

I use FormRegions in my COM AddIn. The FormRegions are saved to *.ofs files.
To which folder should they be installed, that Outlook recognize them?

Thanks
Christian


Ads