![]() |
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
|
|||
|
|||
![]()
I have customised the outlook appointment form and published the same in the
Organization Forms Library. I now open the form and create an appoiment such that it makes an entry in my calendar. Now i double click the caledar entry in order to open the customsed app. form but i get the error "Enable or Disable macros" - What could be the possible reasons ? Also when i create such appoinments they come into the calendar folder in the pst i created and not into the exchange server calendar . What do i do to change this behaviour ? |
Ads |
#2
|
|||
|
|||
![]()
Are you using a very old version of Outlook? Do you see the Help | About This Form dialog on that calendar entry?
Also when i create such appoinments they come into the calendar folder in the pst i created and not into the exchange server calendar . What do i do to change this behaviour ? Make the Exchange server mailbox the default informaton store, rather than the .pst file. -- 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 "Safal" wrote in message ... I have customised the outlook appointment form and published the same in the Organization Forms Library. I now open the form and create an appoiment such that it makes an entry in my calendar. Now i double click the caledar entry in order to open the customsed app. form but i get the error "Enable or Disable macros" - What could be the possible reasons ? Also when i create such appoinments they come into the calendar folder in the pst i created and not into the exchange server calendar . What do i do to change this behaviour ? |
#3
|
|||
|
|||
![]()
I am using MS Outlook 2000 SR-1. I do not see Help | About This Form dialog
on that calendar entry. I still get the error message - Enable/Disable macros while trying to open this form from the Calendar.Please do let me know of possible solutions/work-arounds Also face yet another problem that of a calendar having appoinment entries prior to the form customization. In such a case the previous entries would not have the customised fields i am looking for. How do i handle the same in the VBScript code such that i can skip such entries ? -Safal "Sue Mosher [MVP-Outlook]" wrote: Are you using a very old version of Outlook? Do you see the Help | About This Form dialog on that calendar entry? Also when i create such appoinments they come into the calendar folder in the pst i created and not into the exchange server calendar . What do i do to change this behaviour ? Make the Exchange server mailbox the default informaton store, rather than the .pst file. -- 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 "Safal" wrote in message ... I have customised the outlook appointment form and published the same in the Organization Forms Library. I now open the form and create an appoiment such that it makes an entry in my calendar. Now i double click the caledar entry in order to open the customsed app. form but i get the error "Enable or Disable macros" - What could be the possible reasons ? Also when i create such appoinments they come into the calendar folder in the pst i created and not into the exchange server calendar . What do i do to change this behaviour ? |
#4
|
|||
|
|||
![]()
Outlook 2000 SR-1 indeed is very old. The symptoms you are seeing are the result of having a form "one-off" so that it becomes embedded in the item. This breaks the connection to the published form and also causes the macro security prompt you're seeing. There are many possible causes for one-offing, especially in that older version. You'll see to determine which applies to your form and fix it; see http://www.outlookcode.com/d/formpub.htm#macro
How do i handle the same in the VBScript code such that i can skip such entries ? Show a code snippet to illustrate where it's causing you a problem. -- 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 "Safal" wrote in message ... I am using MS Outlook 2000 SR-1. I do not see Help | About This Form dialog on that calendar entry. I still get the error message - Enable/Disable macros while trying to open this form from the Calendar.Please do let me know of possible solutions/work-arounds Also face yet another problem that of a calendar having appoinment entries prior to the form customization. In such a case the previous entries would not have the customised fields i am looking for. How do i handle the same in the VBScript code such that i can skip such entries ? I have customised the outlook appointment form and published the same in the Organization Forms Library. I now open the form and create an appoiment such that it makes an entry in my calendar. Now i double click the caledar entry in order to open the customsed app. form but i get the error "Enable or Disable macros" - What could be the possible reasons ? |
#5
|
|||
|
|||
![]()
Here is the code i am using -
'Set reference to default Calendar folder Set nms = Application.GetNamespace("MAPI") Set fld = nms.GetDefaultFolder(9) For Each itm in itms If Not IsObject(itm.UserProperties("Tasks")) Then MsgBox "Tasks-" & itm.UserProperties("Tasks").Value End If Next My assumption was IsObject(itm.UserProperties("Tasks")) fails for those entries in the calendar that were made prior to adding the customized field. But i was wrong as i get into that loop for every item on the calendar and an error shows up on the line "itm.UserProperties("Tasks").Value". But if i skip those entries and check for the latest entries the same works fine. -Safal "Sue Mosher [MVP-Outlook]" wrote: Outlook 2000 SR-1 indeed is very old. The symptoms you are seeing are the result of having a form "one-off" so that it becomes embedded in the item. This breaks the connection to the published form and also causes the macro security prompt you're seeing. There are many possible causes for one-offing, especially in that older version. You'll see to determine which applies to your form and fix it; see http://www.outlookcode.com/d/formpub.htm#macro How do i handle the same in the VBScript code such that i can skip such entries ? Show a code snippet to illustrate where it's causing you a problem. -- 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 "Safal" wrote in message ... I am using MS Outlook 2000 SR-1. I do not see Help | About This Form dialog on that calendar entry. I still get the error message - Enable/Disable macros while trying to open this form from the Calendar.Please do let me know of possible solutions/work-arounds Also face yet another problem that of a calendar having appoinment entries prior to the form customization. In such a case the previous entries would not have the customised fields i am looking for. How do i handle the same in the VBScript code such that i can skip such entries ? I have customised the outlook appointment form and published the same in the Organization Forms Library. I now open the form and create an appoiment such that it makes an entry in my calendar. Now i double click the caledar entry in order to open the customsed app. form but i get the error "Enable or Disable macros" - What could be the possible reasons ? |
#6
|
|||
|
|||
![]()
This would be the correct code to ignore items without the custom property:
On Error Resume Next For Each itm in itms Set prop = itm.UserProperties("Tasks") If Not prop Is Nothing Then MsgBox "Tasks-" & prop.Value End If Next -- 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 "Safal" wrote in message ... Here is the code i am using - 'Set reference to default Calendar folder Set nms = Application.GetNamespace("MAPI") Set fld = nms.GetDefaultFolder(9) For Each itm in itms If Not IsObject(itm.UserProperties("Tasks")) Then MsgBox "Tasks-" & itm.UserProperties("Tasks").Value End If Next My assumption was IsObject(itm.UserProperties("Tasks")) fails for those entries in the calendar that were made prior to adding the customized field. But i was wrong as i get into that loop for every item on the calendar and an error shows up on the line "itm.UserProperties("Tasks").Value". But if i skip those entries and check for the latest entries the same works fine. Also face yet another problem that of a calendar having appoinment entries prior to the form customization. In such a case the previous entries would not have the customised fields i am looking for. How do i handle the same in the VBScript code such that i can skip such entries ? |
#7
|
|||
|
|||
![]()
Hey thanks a ton for all the replies (they work very well)
-Safal "Sue Mosher [MVP-Outlook]" wrote: This would be the correct code to ignore items without the custom property: On Error Resume Next For Each itm in itms Set prop = itm.UserProperties("Tasks") If Not prop Is Nothing Then MsgBox "Tasks-" & prop.Value End If Next -- 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 "Safal" wrote in message ... Here is the code i am using - 'Set reference to default Calendar folder Set nms = Application.GetNamespace("MAPI") Set fld = nms.GetDefaultFolder(9) For Each itm in itms If Not IsObject(itm.UserProperties("Tasks")) Then MsgBox "Tasks-" & itm.UserProperties("Tasks").Value End If Next My assumption was IsObject(itm.UserProperties("Tasks")) fails for those entries in the calendar that were made prior to adding the customized field. But i was wrong as i get into that loop for every item on the calendar and an error shows up on the line "itm.UserProperties("Tasks").Value". But if i skip those entries and check for the latest entries the same works fine. Also face yet another problem that of a calendar having appoinment entries prior to the form customization. In such a case the previous entries would not have the customised fields i am looking for. How do i handle the same in the VBScript code such that i can skip such entries ? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Customized Outlook Form Questions | [email protected] | Outlook - Using Forms | 2 | August 15th 06 07:39 PM |
photographs in customized form | philippe | Outlook - Using Forms | 0 | April 24th 06 11:06 PM |
Tab on Customized Form Isn't Working | Frankie | Outlook - Using Forms | 0 | March 22nd 06 07:04 PM |
cannot view customized form | Jennifer | Outlook - Using Forms | 1 | February 1st 06 10:54 PM |
How do you delete a customized form in Outlook? | IT Trainer | Outlook - Using Forms | 1 | January 10th 06 04:36 PM |