A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Version



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old March 22nd 06, 07:01 PM posted to microsoft.public.outlook.program_forms
Josianne
external usenet poster
 
Posts: 28
Default Version

Hi, my problem it's taht I have some old completed froms. they were build
with one of my first version of form. Now, I have a new form and I want my
old forms with my new form template. But I'm not abble to do it!
Thanks,

Josianne
  #2  
Old March 22nd 06, 07:25 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Version

You'll need to run a script or VBA code to change the value of the MessageClass property of the existing items to point to the class of your new published form.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"Josianne" wrote in message ...
Hi, my problem it's taht I have some old completed froms. they were build
with one of my first version of form. Now, I have a new form and I want my
old forms with my new form template. But I'm not abble to do it!
Thanks,

Josianne

  #3  
Old March 23rd 06, 03:38 PM posted to microsoft.public.outlook.program_forms
Josianne
external usenet poster
 
Posts: 28
Default Version

Ok, I've found the code that will help me to do it but I juste don't know
where to put it :\
Sub changeMessageClass()
Set olApp = New Outlook.Application
Set OlNs = olApp.GetNameSpace("MAPI")
Set TasksFolder = olNs.GetDefaultFolder(olFolderTasks)
Set TasksItems = TasksFolder.Items
For Each Itm in TasksItems
If Itm.MessageClass "IPM.Task.MyForm" Then
Itm.MessageClass = "IPM.Task.MyForm"
Itm.Save
End If
Next
End Sub

--
Josianne


"Sue Mosher [MVP-Outlook]" wrote:

You'll need to run a script or VBA code to change the value of the MessageClass property of the existing items to point to the class of your new published form.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"Josianne" wrote in message ...
Hi, my problem it's taht I have some old completed froms. they were build
with one of my first version of form. Now, I have a new form and I want my
old forms with my new form template. But I'm not abble to do it!
Thanks,

Josianne


  #4  
Old March 23rd 06, 06:16 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Version

The code you have can be run from any Office program VBA environment.

Did you publish the new form under a different name? Or did you just change the version number and use the same message class?

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"Josianne" wrote in message ...
Ok, I've found the code that will help me to do it but I juste don't know
where to put it :\
Sub changeMessageClass()
Set olApp = New Outlook.Application
Set OlNs = olApp.GetNameSpace("MAPI")
Set TasksFolder = olNs.GetDefaultFolder(olFolderTasks)
Set TasksItems = TasksFolder.Items
For Each Itm in TasksItems
If Itm.MessageClass "IPM.Task.MyForm" Then
Itm.MessageClass = "IPM.Task.MyForm"
Itm.Save
End If
Next
End Sub

--
Josianne


"Sue Mosher [MVP-Outlook]" wrote:

You'll need to run a script or VBA code to change the value of the MessageClass property of the existing items to point to the class of your new published form.

"Josianne" wrote in message ...
Hi, my problem it's taht I have some old completed froms. they were build
with one of my first version of form. Now, I have a new form and I want my
old forms with my new form template. But I'm not abble to do it!
Thanks,

Josianne


  #5  
Old March 23rd 06, 07:15 PM posted to microsoft.public.outlook.program_forms
Josianne
external usenet poster
 
Posts: 28
Default Version

I've published it on the same name but I change some fields on it and my
version number!
--
Josianne


"Sue Mosher [MVP-Outlook]" wrote:

The code you have can be run from any Office program VBA environment.

Did you publish the new form under a different name? Or did you just change the version number and use the same message class?

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"Josianne" wrote in message ...
Ok, I've found the code that will help me to do it but I juste don't know
where to put it :\
Sub changeMessageClass()
Set olApp = New Outlook.Application
Set OlNs = olApp.GetNameSpace("MAPI")
Set TasksFolder = olNs.GetDefaultFolder(olFolderTasks)
Set TasksItems = TasksFolder.Items
For Each Itm in TasksItems
If Itm.MessageClass "IPM.Task.MyForm" Then
Itm.MessageClass = "IPM.Task.MyForm"
Itm.Save
End If
Next
End Sub

--
Josianne


"Sue Mosher [MVP-Outlook]" wrote:

You'll need to run a script or VBA code to change the value of the MessageClass property of the existing items to point to the class of your new published form.

"Josianne" wrote in message ...
Hi, my problem it's taht I have some old completed froms. they were build
with one of my first version of form. Now, I have a new form and I want my
old forms with my new form template. But I'm not abble to do it!
Thanks,

Josianne


  #6  
Old March 23rd 06, 07:30 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Version

Then the code won't do anything at all, because the old and new MessageClass values are the same.

Where is the form published? If you create a new item with the published form, do you see the new version? If you then open an existing item, what version does Help | About This Form show?

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"Josianne" wrote in message ...
I've published it on the same name but I change some fields on it and my
version number!
--
Josianne


"Sue Mosher [MVP-Outlook]" wrote:

The code you have can be run from any Office program VBA environment.

Did you publish the new form under a different name? Or did you just change the version number and use the same message class?



"Josianne" wrote in message ...
Ok, I've found the code that will help me to do it but I juste don't know
where to put it :\
Sub changeMessageClass()
Set olApp = New Outlook.Application
Set OlNs = olApp.GetNameSpace("MAPI")
Set TasksFolder = olNs.GetDefaultFolder(olFolderTasks)
Set TasksItems = TasksFolder.Items
For Each Itm in TasksItems
If Itm.MessageClass "IPM.Task.MyForm" Then
Itm.MessageClass = "IPM.Task.MyForm"
Itm.Save
End If
Next
End Sub

--
Josianne


"Sue Mosher [MVP-Outlook]" wrote:

You'll need to run a script or VBA code to change the value of the MessageClass property of the existing items to point to the class of your new published form.

"Josianne" wrote in message ...
Hi, my problem it's taht I have some old completed froms. they were build
with one of my first version of form. Now, I have a new form and I want my
old forms with my new form template. But I'm not abble to do it!
Thanks,

Josianne


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Version and download Josianne Outlook and VBA 1 March 22nd 06 04:27 PM
How to make an old version of Office look like the new version? beefer Outlook - Installation 0 February 24th 06 10:59 PM
Which version of outlook? Peter Brown Outlook - General Queries 13 February 21st 06 01:51 AM
Should I deleat trail version and install real version ? Trail Outlook Outlook - Installation 0 January 27th 06 03:47 PM
Next version Tim Scott Mathews Outlook - General Queries 3 January 9th 06 08:21 PM


All times are GMT +1. The time now is 07:10 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.