![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
Good Morning:
We've been experiencing problems with our users opening older versions of custom appointment forms. We have about 500 users across the country of varying experience with working with Outlook. I'd like to implement a bulletproof form version number check on the item Open event to ensure that users always have the current version of the form. Referencing the version number of the appointment item that is being opened is very easy. OpenedFormVersion = Item.FormDescription.Version I need to compare this version number against the version number of the form that is associated with (installed in) a folder; which is always the current version. The path to the folder for the form for which I want to get the version number is oNameSpace.Folders("Mailbox - NAT-CSD-Appointments").Folders("Offices") What I'd like help with is the VB Script syntax to reference the version number of the custom appointment form that is installed in the Offices folder. Any help you can give will be greatly appreciated. Thanks. |
#2
|
|||
|
|||
![]()
The MS KB article at http://support.microsoft.com/?kbid=200176 shows how to use CDO 1.21 to access a form definition stored in a folder. Once you return the item, the version number is available as a MAPI property -- 0x6822001E. See http://www.cdolive.com/cdo10.htm if you need a primer on accessing MAPI properties with CDO.
-- 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 "Culverin" wrote in message ... Good Morning: We've been experiencing problems with our users opening older versions of custom appointment forms. We have about 500 users across the country of varying experience with working with Outlook. I'd like to implement a bulletproof form version number check on the item Open event to ensure that users always have the current version of the form. Referencing the version number of the appointment item that is being opened is very easy. OpenedFormVersion = Item.FormDescription.Version I need to compare this version number against the version number of the form that is associated with (installed in) a folder; which is always the current version. The path to the folder for the form for which I want to get the version number is oNameSpace.Folders("Mailbox - NAT-CSD-Appointments").Folders("Offices") What I'd like help with is the VB Script syntax to reference the version number of the custom appointment form that is installed in the Offices folder. Any help you can give will be greatly appreciated. Thanks. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Check Boxes in a custom view | DoubleDown | Outlook - Using Forms | 0 | July 3rd 06 08:02 PM |
why did my outlook form revert to an old version? | sadcassie | Outlook - Using Contacts | 3 | June 16th 06 04:35 PM |
Emailing a contact vCard with custom form loses all custom info | Kim | Outlook - Using Contacts | 7 | April 27th 06 12:21 AM |
Valid entries for Version and Form Number | sublimese | Outlook - Using Forms | 4 | February 9th 06 09:17 PM |
Cannot programmatically open custom message in custom form | ms | Outlook - Using Forms | 1 | January 20th 06 03:01 PM |