Form region not appearing on machines I deploy to?

Status
Not open for further replies.
M

Mark B

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/library/bb386301.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.
 
Is the registration for your form region there? Is it registered for

whatever MessageClass it's supposed to work with?

"Mark B" <none123@none.com> wrote in message

news:O5nQfe9kKHA.2188@TK2MSFTNGP04.phx.gbl...
> 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/library/bb386301.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.
 
Yes, I get the setup to add the following key on the target PC:

[HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook\FormRegions\IPM.Note]

"MyAddinFormRegion"="=MyAddin"

I checked what it was on my development PC and it was:

[HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook\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.
 
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.

"Mark B" <none123@none.com> wrote in message

news:OVxGGWNlKHA.2164@TK2MSFTNGP02.phx.gbl...
> Yes, I get the setup to add the following key on the target PC:

> [HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook\FormRegions\IPM.Note]
> "MyAddinFormRegion"="=MyAddin"

> I checked what it was on my development PC and it was:

> [HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook\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.
 
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
<kenslovak@mvps.org> wrote in message

news:%232IfKzTlKHA.5820@TK2MSFTNGP06.phx.gbl...
> 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.

> >

>

> "Mark B" <none123@none.com> wrote in message
> news:OVxGGWNlKHA.2164@TK2MSFTNGP02.phx.gbl...
> > Yes, I get the setup to add the following key on the target PC:
>

>> [HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook\FormRegions\IPM.Note]
> > "MyAddinFormRegion"="=MyAddin"
>

>> I checked what it was on my development PC and it was:
>

>> [HKEY_CURRENT_USER\Software\Microsoft\Office\Outlook\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.

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

"Mark B" <none123@none.com> wrote in message

news:%23Q4H5GWlKHA.2680@TK2MSFTNGP04.phx.gbl...
> 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
 
Thanks Ken. The issue was solved after I posted a question to that forum. I

was referred there to

http://social.msdn.microsoft.com/Forums/en-US/vsto/thread/d0b489c5-5824-40c3-86c4-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. "

--- <kenslovak@mvps.org> wrote in message

news:%23K%235MCflKHA.2164@TK2MSFTNGP02.phx.gbl...
> 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.

> >

>

> "Mark B" <none123@none.com> wrote in message
> news:%23Q4H5GWlKHA.2680@TK2MSFTNGP04.phx.gbl...
> > 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

>
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
M Outlook 2010 How could I globally redesign an outlook template form/region/inspector template used to display mail lists or an individual mails? Outlook VBA and Custom Forms 0
A ItemEvents_10_AfterWriteEventHandler is triggers for all instances of the form region Outlook VBA and Custom Forms 1
B Disabling form region change Using Outlook 0
T Outlook replacement form region using a "parent" Outlook VBA and Custom Forms 1
E VSTO 2008 how to bind Form Region controls to Item data fields Outlook VBA and Custom Forms 2
E VSTO 2008 how to bind Form Region controls to Item data fields Outlook VBA and Custom Forms 3
E Accessing a Form Region from an Inspector Outlook VBA and Custom Forms 3
E Accessing a Form Region from an Inspector Outlook VBA and Custom Forms 3
M Delete key in form region textbox deleting email instead Outlook VBA and Custom Forms 2
M How to change the Title of a form region at runtime? Outlook VBA and Custom Forms 3
M How to read color of form region title? Outlook VBA and Custom Forms 1
M Can I embed ribbon item into form region? Outlook VBA and Custom Forms 2
E Preview of Form Region Outlook VBA and Custom Forms 4
K Accessing contact's custom properties in a Outlook 2007 form region Outlook VBA and Custom Forms 1
R Form Region Outlook VBA and Custom Forms 3
T Form Region Freezing Outlook VBA and Custom Forms 1
C Form Region, Task Pain, Ribbon Extension - which way is best? Outlook VBA and Custom Forms 1
G Apply Custom Contacts form to all existing Contacts Outlook VBA and Custom Forms 1
G Add Map It button to Custom Contacts Form in Outlook Outlook VBA and Custom Forms 1
G Outlook 2021 Add Picture to Custom Contact Form Outlook VBA and Custom Forms 2
P Can't add custom field to custom Outlook form, it always adds to the Folder instead Outlook VBA and Custom Forms 2
AndyZ Contact Custom Form Tiny Text Outlook VBA and Custom Forms 3
A How to reduce size of custom contact form? Outlook VBA and Custom Forms 3
L Applying new form to existing contacts -- MessageClass Outlook VBA and Custom Forms 3
Geldner Problem submitting SPAM using Outlook VBA Form Outlook VBA and Custom Forms 2
Witzker How to get the button Karte ( map) in custom contact form Outlook VBA and Custom Forms 2
B Outlook 2019 Custom Email form - Edit default email form Outlook VBA and Custom Forms 6
C Populate form data into message body Outlook VBA and Custom Forms 1
Witzker Outlook 2019 How to get a Photo in a User Defined Contact form Outlook VBA and Custom Forms 2
Witzker Outlook 2019 Macro to send an Email Template from User Defined Contact Form Outlook VBA and Custom Forms 0
Witzker Set Cursor & Focus from any field to the body of a user Contact form in OL 2019 Outlook VBA and Custom Forms 1
Witzker Place cursor at opening, a user defined OL contact form Outlook VBA and Custom Forms 3
T Customized form: The Forward option shows write layout Outlook VBA and Custom Forms 0
T 1:1 Datatransfer from incoming mail body to customs form body Outlook VBA and Custom Forms 0
V Latest Changes to form not appearing for some users Outlook VBA and Custom Forms 3
J Does the .fdm contain my custom form? How to make ol use it? - ol2007 Outlook VBA and Custom Forms 4
J ol2021 custom form not displaying pics Outlook VBA and Custom Forms 37
bdsermons Outlook 365 command button in outlook form Outlook VBA and Custom Forms 5
wayneame Changing the Form Used by Existing Task Items in a Folder Outlook VBA and Custom Forms 4
N Contact Form Notes Field Touch vs Mouse Using Outlook 0
cbufacchi Outlook 365 Populate custom Outlook Appoint form Outlook VBA and Custom Forms 2
C Create Meeting With Custom Form Outlook VBA and Custom Forms 2
W Designer Form 2013 and Script ? how ? Outlook VBA and Custom Forms 1
J Read Outlook Form fields Outlook VBA and Custom Forms 3
V Compound IF, OR, AND in Outlook form Outlook VBA and Custom Forms 4
J custom form not displaying pictures Outlook VBA and Custom Forms 7
I Button PDF in Outlook Contact custom form Outlook VBA and Custom Forms 1
K Font Sizing in Custom Form Regions for Contacts Outlook VBA and Custom Forms 1
V Validating Outlook form with "OR" and "AND" Outlook VBA and Custom Forms 1
A How to stop user form from disapearing once mail window is closed? Outlook VBA and Custom Forms 0

Similar threads

Back
Top