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

Appointment form customized and face problems



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old November 16th 06, 03:58 PM posted to microsoft.public.outlook.program_forms
Safal
external usenet poster
 
Posts: 28
Default Appointment form customized and face problems

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  
Old November 16th 06, 04:09 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Appointment form customized and face problems

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  
Old November 17th 06, 06:21 AM posted to microsoft.public.outlook.program_forms
Safal
external usenet poster
 
Posts: 28
Default Appointment form customized and face problems

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  
Old November 17th 06, 03:09 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Appointment form customized and face problems

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  
Old November 20th 06, 05:30 AM posted to microsoft.public.outlook.program_forms
Safal
external usenet poster
 
Posts: 28
Default Appointment form customized and face problems

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  
Old November 20th 06, 01:27 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Appointment form customized and face problems

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  
Old November 20th 06, 02:03 PM posted to microsoft.public.outlook.program_forms
Safal
external usenet poster
 
Posts: 28
Default Appointment form customized and face problems

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
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
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


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


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.