PC Review


Reply
Thread Tools Rate Thread

Contacts Opening With Previous Custom Form

 
 
OutdoorRuss
Guest
Posts: n/a
 
      9th Feb 2010
I recently changed the default form for my contacts. Now, contacts
that were created using my old form open with the old form, not my new
one. Is there a way to change this?

Thanks!
 
Reply With Quote
 
 
 
 
Oliver Vukovics
Guest
Posts: n/a
 
      9th Feb 2010
Hi OutdoorRuss,

have a look on this side for Outlook 2003

http://support.microsoft.com/kb/839804/en-us

Microsoft recommends that you use the Clear Cache method. To do this, follow
these steps:
1.. On the Tools menu, click Options, and then click the Other tab.
2.. Click Advanced Options.
3.. In the Advanced Options box, click Custom Forms.
4.. In the Custom Forms box, click Manage Forms.
5.. In the Forms Manager box, click Clear Cache.
--
Oliver Vukovics
Share Outlook without Exchange (Win7, Office 2010 Ready): Public ShareFolder
Synchronize Outlook between PC and Notebook: Public SyncTool
http://www.publicshareware.com

"OutdoorRuss" <(E-Mail Removed)> schrieb im Newsbeitrag
news:b16f780f-fac0-4c84-9567-(E-Mail Removed)...
>I recently changed the default form for my contacts. Now, contacts
> that were created using my old form open with the old form, not my new
> one. Is there a way to change this?
>
> Thanks!



 
Reply With Quote
 
Sue Mosher [MVP]
Guest
Posts: n/a
 
      9th Feb 2010
Was the old default form also a custom form? If so, then there are two ways
to those contacts open in the new default form:

1) Publish the new form using the same message class, e.g.
IPM.Contact.MyForm as the old default form.

2) Change the value of the MessageClass property on each contact so that it
points to the new form's message class. See
http://www.outlookcode.com/article.aspx?ID=39 for links to code and tools to
acco
--
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54



"OutdoorRuss" wrote:

> I recently changed the default form for my contacts. Now, contacts
> that were created using my old form open with the old form, not my new
> one. Is there a way to change this?
>
> Thanks!
> .
>

 
Reply With Quote
 
Sue Mosher [MVP]
Guest
Posts: n/a
 
      9th Feb 2010
Oops. Finger slipped. The URL I posted has links to code and tools to do a
bulk message class change on items.

If you try method #1, make sure you increment the version # on the
(Properties) page before you publish the form. And you still might need to
clear the forms cache.

And if none of the suggestions work, provide more info. State the Outlook
version, and tell us more about how you implemented the "old form" and "new
form."

FYI, there is a newsgroup specifically for Outlook forms issues "down the
hall" at microsoft.public.outlook.program_forms or, via web interface, at
http://www.microsoft.com/office/comm....program_forms

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54



"Sue Mosher [MVP]" wrote:

> Was the old default form also a custom form? If so, then there are two ways
> to those contacts open in the new default form:
>
> 1) Publish the new form using the same message class, e.g.
> IPM.Contact.MyForm as the old default form.
>
> 2) Change the value of the MessageClass property on each contact so that it
> points to the new form's message class. See
> http://www.outlookcode.com/article.aspx?ID=39 for links to code and tools to
> acco
> --
> --
> Sue Mosher, Outlook MVP
> Author of Microsoft Outlook 2007 Programming:
> Jumpstart for Power Users and Administrators
> http://www.outlookcode.com/article.aspx?id=54
>
>
>
> "OutdoorRuss" wrote:
>
> > I recently changed the default form for my contacts. Now, contacts
> > that were created using my old form open with the old form, not my new
> > one. Is there a way to change this?
> >
> > Thanks!
> > .
> >

 
Reply With Quote
 
OutdoorRuss
Guest
Posts: n/a
 
      9th Feb 2010
In case anyone comes across this, here is the code. "MyFormName" is
the name of your form.

Sub ChangeMessageClass()
Set olApp = New Outlook.Application
Set olNS = olApp.GetNamespace("MAPI")
Set ContactsFolder = _
olNS.GetDefaultFolder(olFolderContacts)
Set ContactItems = ContactsFolder.Items
For Each Itm In ContactItems
If Itm.MessageClass <> "IPM.Contact.MyFormName" Then
Itm.MessageClass = "IPM.Contact.MyFormName"
Itm.Save
End If
Next
End Sub
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Opening another form and access same record on previous form Vic Abrahamian Microsoft Access Forms 4 23rd Mar 2009 11:11 PM
2007 Calendar unable to use custom form created in a previous vers vger Microsoft Outlook Calendar 0 22nd Apr 2008 05:45 PM
Form sync via custom events independent of order of form opening =?Utf-8?B?Sm9obiBG?= Microsoft Access Form Coding 1 5th Dec 2006 09:38 AM
Moving Some Contact Data from normal Contacts form to a custom form JV Microsoft Outlook Contacts 2 28th Jan 2005 06:20 AM
opening custom custom page from contacts news tpg Microsoft Outlook Discussion 1 19th Jul 2004 08:41 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:09 PM.