Updating existing data in 2003

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I've created a new Contact Form. Now I'd like to change my existing contacts
to use that form. I've followed several links to show me how to do that but
they all seem to apply to previous versions of Outlook. I've looked at the
Omsgclas.exe ustility and a Converter. What should I use for Outlook 2003
(running word 2003).
Thanks
 
The same principle works in all versions: You must change the MessageClass property value of each item to point to the new form's class, e.g. IPM.Contact.MyForm. The page at http://www.outlookcode.com/article.aspx?id=39 has links to scripts and tools to do this, but you can also write your own in VBA -- a very good exercise.
 
Hi, Im using outlook 2007 and has tried to write VBScript in order to use a
customized form on existing contacts. I have followed the instructions on
http://support.microsoft.com/kb/201087, but when I go to explorer to open the
file, a message comes up saying, "Outlook has blocked access to this form
template file. If you know and trust the person who created the form, on the
File menu, point to New, click choose Form, and then in the Look In list,
click, User Templates in File System. Get more information about opening an
oft.file." The link doesn't give any helpful information and I was able to
open the file by following the instructions in the message, but that was all,
nothing happend. isn't the script suppose to start when you open the file?
and do you have any suggestions what I can do?
I have the customized form set as a default form, but I want to have all my
existing contacts in the same format.
 
I strongly suggest that you use VBA, not a custom form, to write your code for this task. The code would be exactly the same as in the article you cited [1], but you get much better debugging and other code-writing features. See http://outlookcode.com/article.aspx?id=49 for Outlook VBA basics.

[1] That article is very outdated with its instruction for running code from an .oft file, because only published forms will run code in current Outlook versions.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


OutlookPB said:
Hi, Im using outlook 2007 and has tried to write VBScript in order to use a
customized form on existing contacts. I have followed the instructions on
http://support.microsoft.com/kb/201087, but when I go to explorer to open the
file, a message comes up saying, "Outlook has blocked access to this form
template file. If you know and trust the person who created the form, on the
File menu, point to New, click choose Form, and then in the Look In list,
click, User Templates in File System. Get more information about opening an
oft.file." The link doesn't give any helpful information and I was able to
open the file by following the instructions in the message, but that was all,
nothing happend. isn't the script suppose to start when you open the file?
and do you have any suggestions what I can do?
I have the customized form set as a default form, but I want to have all my
existing contacts in the same format.
 
Back
Top