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

Ken Slovak - [MVP - Outlook]

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

Mark B

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

Ken Slovak - [MVP - Outlook]

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

Mark B

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.

>
 
K

Ken Slovak - [MVP - Outlook]

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
 
M

Mark B

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
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 3
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
K can't get custom form to update multiple contacts using VBA Outlook VBA and Custom Forms 3
V Form data not sending for some users Outlook VBA and Custom Forms 2
H Custom Outlook Contact Form VBA Outlook VBA and Custom Forms 1
witzker HowTo Change message Class of contact form Outlook VBA and Custom Forms 0
A VBscript stops running after updating form Outlook VBA and Custom Forms 1
witzker HowTo start a macro with an Button in OL contact form Outlook VBA and Custom Forms 12
D Emailed form is blank Outlook VBA and Custom Forms 0
F Validation on custom task form after task acceptance Outlook VBA and Custom Forms 1
C Add Form to Appointments Received, Automatically Outlook VBA and Custom Forms 6
V Date and/or time error in Outlook Form Outlook VBA and Custom Forms 0
A Form Position with Dual Monitors Outlook VBA and Custom Forms 2
I Error saving screenshots in a custom form in outlook 2016, outlook 365 - ok in outlook 2013, outlook 2010 Outlook VBA and Custom Forms 5
M VbScript for Command Button on Contacts Custom Form Using Outlook 1
G Other users can't see P.2 with custom fields in Form Outlook VBA and Custom Forms 0
O Create a custom contact form - questions before messing things up... Outlook VBA and Custom Forms 4
L Custom Form Tutoral? Outlook VBA and Custom Forms 6
D Lost Access to Custom Form Outlook VBA and Custom Forms 4
A Form style totally changes Outlook VBA and Custom Forms 2

Similar threads

Top