Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Add-ins for Outlook (http://www.outlookbanter.com/add-ins-outlook/)
-   -   FormRegion setup question (http://www.outlookbanter.com/add-ins-outlook/52881-formregion-setup-question.html)

Christian Havel July 19th 07 08:38 AM

FormRegion setup question
 
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

Sue Mosher [MVP-Outlook] July 19th 07 11:42 AM

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

--
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,

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


Christian Havel July 19th 07 12:46 PM

FormRegion setup question
 
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.

--
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,

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



Sue Mosher [MVP-Outlook] July 19th 07 01:50 PM

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



Christian Havel July 19th 07 04:16 PM

FormRegion setup question
 
Following you find my manifest file:

?xml version="1.0" encoding="utf-8"?
FormRegion
xmlns="http://schemas.microsoft.com/office/12/outlook/formregion.xsd"
nameMyFormRegionsName/name
formRegionNameFine FormRegion/formRegionName
formRegionTypeadjoining/formRegionType
title/title
showInspectorReadtrue/showInspectorRead
showReadingPanetrue/showReadingPane
showInspectorComposefalse/showInspectorCompose
addinMyAddIn.Connect/addin
/FormRegion


"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.

--
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,

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




All times are GMT +1. The time now is 12:28 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com