![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
OL2007, VS2008, C#, VSTO
My form region is not appearing on machines I deploy to even though it appears fine on the development machine. http://msdn.microsoft.com/en-us/libr...aspx#Deploying says: Deploying a Form Region Form regions are deployed automatically with the associated Outlook add-in. Therefore, you do not have to perform any special tasks to deploy a form region. For more information about deploying add-ins, see Deploying Office Solutions (2007 System). --- Any ideas why it wouldn't be showing up? I've tried on a Vista and an XP machine. |
Ads |
#2
|
|||
|
|||
![]()
Is the registration for your form region there? Is it registered for
whatever MessageClass it's supposed to work with? -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Mark B" wrote in message ... OL2007, VS2008, C#, VSTO My form region is not appearing on machines I deploy to even though it appears fine on the development machine. http://msdn.microsoft.com/en-us/libr...aspx#Deploying says: Deploying a Form Region Form regions are deployed automatically with the associated Outlook add-in. Therefore, you do not have to perform any special tasks to deploy a form region. For more information about deploying add-ins, see Deploying Office Solutions (2007 System). --- Any ideas why it wouldn't be showing up? I've tried on a Vista and an XP machine. |
#3
|
|||
|
|||
![]()
Yes, I get the setup to add the following key on the target PC:
[HKEY_CURRENT_USER\Software\Microsoft\Office\Outloo k\FormRegions\IPM.Note] "MyAddinFormRegion"="=MyAddin" I checked what it was on my development PC and it was: [HKEY_CURRENT_USER\Software\Microsoft\Office\Outloo k\FormRegions\IPM.Note] "MyAddin.MyAddinFormRegion"="=MyAddin" So then I manually changed it on the target PC to match the development PC's key value. It still didn't show. |
#4
|
|||
|
|||
![]()
What is that registry key doing? Does it point to the location where the XML
for the form region is located? Does the key match the addin ProgID? Usually if I do a form region I set it up to either supply XML using a location for the XML in that key, or I supply the ProgID of the class where the form region is defined. Usually that would be something like MyAddin.Connect. Also, please put the preceding part of a thread in your reply. It gets way too hard to follow things if you just snip to your own replies. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Mark B" wrote in message ... Yes, I get the setup to add the following key on the target PC: [HKEY_CURRENT_USER\Software\Microsoft\Office\Outloo k\FormRegions\IPM.Note] "MyAddinFormRegion"="=MyAddin" I checked what it was on my development PC and it was: [HKEY_CURRENT_USER\Software\Microsoft\Office\Outloo k\FormRegions\IPM.Note] "MyAddin.MyAddinFormRegion"="=MyAddin" So then I manually changed it on the target PC to match the development PC's key value. It still didn't show. |
#5
|
|||
|
|||
![]()
The Key value I entered matches the ProgID. If I right-click the add-in
project, select Properties and select the Application tab, the value under "Assembly name" is the value I used for the Key value. I put an = sign before it: =MyAddin I didn't use any double-quotes. I would like to test the alternate method of pointing to the location where the form region XML is but I haven't been able to find it. I am guessing that the programmer here who first created the form region used Visual Studio, Right Click, Add New Item, Office, Outlook Form Region (template) wizard to automatically create it. It's an adjoining region that shows below the reading pane. I have looked under the form region object's .cs, .designer.cs and .resx objects but can't see any reference to an XML file. Is there one? Do you know where it would reside? If so what's the best method to reference it? TIA "Ken Slovak - [MVP - Outlook]" wrote in message ... What is that registry key doing? Does it point to the location where the XML for the form region is located? Does the key match the addin ProgID? Usually if I do a form region I set it up to either supply XML using a location for the XML in that key, or I supply the ProgID of the class where the form region is defined. Usually that would be something like MyAddin.Connect. Also, please put the preceding part of a thread in your reply. It gets way too hard to follow things if you just snip to your own replies. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Mark B" wrote in message ... Yes, I get the setup to add the following key on the target PC: [HKEY_CURRENT_USER\Software\Microsoft\Office\Outloo k\FormRegions\IPM.Note] "MyAddinFormRegion"="=MyAddin" I checked what it was on my development PC and it was: [HKEY_CURRENT_USER\Software\Microsoft\Office\Outloo k\FormRegions\IPM.Note] "MyAddin.MyAddinFormRegion"="=MyAddin" So then I manually changed it on the target PC to match the development PC's key value. It still didn't show. |
#6
|
|||
|
|||
![]()
If the form region was designed inside of VSTO then you usually won't see
the separate XML for the form region, a different type designer is used then. For VSTO you usually would see the "=MyAddin" type registry entry for the form region. You might want to reference the material on form regions at www.outlookcode.com. There's a lot of information there and links to samples and posts on the forums there on problems. That might point out something I'm missing. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Mark B" wrote in message ... The Key value I entered matches the ProgID. If I right-click the add-in project, select Properties and select the Application tab, the value under "Assembly name" is the value I used for the Key value. I put an = sign before it: =MyAddin I didn't use any double-quotes. I would like to test the alternate method of pointing to the location where the form region XML is but I haven't been able to find it. I am guessing that the programmer here who first created the form region used Visual Studio, Right Click, Add New Item, Office, Outlook Form Region (template) wizard to automatically create it. It's an adjoining region that shows below the reading pane. I have looked under the form region object's .cs, .designer.cs and .resx objects but can't see any reference to an XML file. Is there one? Do you know where it would reside? If so what's the best method to reference it? TIA |
#7
|
|||
|
|||
![]()
Thanks Ken. The issue was solved after I posted a question to that forum. I
was referred there to http://social.msdn.microsoft.com/For...-7cd765f0b56d/. In that post the following text was relevant: "I talked to one of the form regions testers about this, and he said that the value of this key: ChangeContactsDisplay.MyForm --- REG_SZ --- =ChangeContactsDisplay needs to match what you used as the folder name [Key Name] in HKEY_CURRENT_USER/Software/Microsoft/Office/Outlook/Addins to store the FriendlyName, Description, LoadBehavior, and Manifest registry keys. " ----- "Ken Slovak - [MVP - Outlook]" wrote in message ... If the form region was designed inside of VSTO then you usually won't see the separate XML for the form region, a different type designer is used then. For VSTO you usually would see the "=MyAddin" type registry entry for the form region. You might want to reference the material on form regions at www.outlookcode.com. There's a lot of information there and links to samples and posts on the forums there on problems. That might point out something I'm missing. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "Mark B" wrote in message ... The Key value I entered matches the ProgID. If I right-click the add-in project, select Properties and select the Application tab, the value under "Assembly name" is the value I used for the Key value. I put an = sign before it: =MyAddin I didn't use any double-quotes. I would like to test the alternate method of pointing to the location where the form region XML is but I haven't been able to find it. I am guessing that the programmer here who first created the form region used Visual Studio, Right Click, Add New Item, Office, Outlook Form Region (template) wizard to automatically create it. It's an adjoining region that shows below the reading pane. I have looked under the form region object's .cs, .designer.cs and .resx objects but can't see any reference to an XML file. Is there one? Do you know where it would reside? If so what's the best method to reference it? TIA |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Preview of Form Region | escamoteur | Add-ins for Outlook | 4 | August 9th 09 08:38 PM |
The Form Region,"IPM".note.microsoft conversation.Region | Alex | Outlook - Using Contacts | 1 | June 7th 09 10:59 PM |
Form Region | Faisal | Outlook - Using Forms | 3 | June 2nd 09 03:23 PM |
How to deploy a form created in Visual Basic Editor of outlook | Prasad Mohire | Outlook and VBA | 1 | February 6th 09 03:27 PM |
How to deploy custom form to Organizational Forms Library? | Piyush Gupta | Add-ins for Outlook | 1 | February 13th 07 04:21 PM |