PC Review


Reply
Thread Tools Rate Thread

Custom Forms and Scripting

 
 
=?Utf-8?B?R2FiZQ==?=
Guest
Posts: n/a
 
      16th Feb 2005
I am using Outlook 2003. I have a custom form created and a script that
displays a "test" message upon the send action. This works perfectly on my
computer but when I send the form to a co worker and he forwards it he does
not get the MsgBox. This custom form is designed to be routed to several
users and I need the script to "go along" with the custom form. I do not
have access to our Exchange Servers. Can anyone help me.
 
Reply With Quote
 
 
 
 
Sue Mosher [MVP-Outlook]
Guest
Posts: n/a
 
      16th Feb 2005
To get the form to run code, you'll need to ask each user to publish it to
their own Personal Forms library, always using the same message class. And
you'll have to uncheck the "send form definition with item" box on the
(properties) page of the form.

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


"Gabe" <(E-Mail Removed)> wrote in message
news:2AA09800-2159-4DEB-9876-(E-Mail Removed)...
>I am using Outlook 2003. I have a custom form created and a script that
> displays a "test" message upon the send action. This works perfectly on
> my
> computer but when I send the form to a co worker and he forwards it he
> does
> not get the MsgBox. This custom form is designed to be routed to several
> users and I need the script to "go along" with the custom form. I do not
> have access to our Exchange Servers. Can anyone help me.



 
Reply With Quote
 
=?Utf-8?B?R2FiZQ==?=
Guest
Posts: n/a
 
      16th Feb 2005
I unchecked the box as you instructed and sent the form to myself because I
already have it installed. After I received the message I tried to foward it
and I recieved no MsgBox on the send action. When you say the same message
class what exactly do you mean I am a bit confused by that.

"Sue Mosher [MVP-Outlook]" wrote:

> To get the form to run code, you'll need to ask each user to publish it to
> their own Personal Forms library, always using the same message class. And
> you'll have to uncheck the "send form definition with item" box on the
> (properties) page of the form.
>
> --
> Sue Mosher, Outlook MVP
> Author of
> Microsoft Outlook Programming - Jumpstart for
> Administrators, Power Users, and Developers
> http://www.outlookcode.com/jumpstart.aspx
>
>
> "Gabe" <(E-Mail Removed)> wrote in message
> news:2AA09800-2159-4DEB-9876-(E-Mail Removed)...
> >I am using Outlook 2003. I have a custom form created and a script that
> > displays a "test" message upon the send action. This works perfectly on
> > my
> > computer but when I send the form to a co worker and he forwards it he
> > does
> > not get the MsgBox. This custom form is designed to be routed to several
> > users and I need the script to "go along" with the custom form. I do not
> > have access to our Exchange Servers. Can anyone help me.

>
>
>

 
Reply With Quote
 
Sue Mosher [MVP-Outlook]
Guest
Posts: n/a
 
      16th Feb 2005
The MessageClass property of an item determines what form is used to display
it. When you publish a form, you are prompted to enter the display name and
form name. The form name is used to construct the message class, e.g.
IPM.Note.MyClass. Therefore, everyone needs to use the same form name when
they publish the form.

If you want the forward action to use your published custom form, you must
change the Form Name property for the Forward action on the (Actions) page
of the form, in design mode, to point to your custom form.

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


"Gabe" <(E-Mail Removed)> wrote in message
news:27011C55-3024-497A-9B0E-(E-Mail Removed)...
>I unchecked the box as you instructed and sent the form to myself because I
> already have it installed. After I received the message I tried to foward
> it
> and I recieved no MsgBox on the send action. When you say the same
> message
> class what exactly do you mean I am a bit confused by that.
>
> "Sue Mosher [MVP-Outlook]" wrote:
>
>> To get the form to run code, you'll need to ask each user to publish it
>> to
>> their own Personal Forms library, always using the same message class.
>> And
>> you'll have to uncheck the "send form definition with item" box on the
>> (properties) page of the form.


>>
>> "Gabe" <(E-Mail Removed)> wrote in message
>> news:2AA09800-2159-4DEB-9876-(E-Mail Removed)...
>> >I am using Outlook 2003. I have a custom form created and a script that
>> > displays a "test" message upon the send action. This works perfectly
>> > on
>> > my
>> > computer but when I send the form to a co worker and he forwards it he
>> > does
>> > not get the MsgBox. This custom form is designed to be routed to
>> > several
>> > users and I need the script to "go along" with the custom form. I do
>> > not
>> > have access to our Exchange Servers. Can anyone help me.

>>
>>
>>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
custom form scripting error =?Utf-8?B?Sm9i?= Microsoft Outlook Form Programming 5 4th Oct 2007 01:55 AM
how to invoke Ras Custom -scripting Dll? smallcat0008 Windows XP 0 14th Feb 2006 05:23 AM
Control Scripting in item forms =?Utf-8?B?Um9uIE1hdHVzemVr?= Microsoft Outlook Form Programming 4 25th Aug 2005 09:15 AM
Forms Scripting error - OL2003 Dan Leiva Microsoft Outlook Third-Party Utilities 2 16th Jan 2004 03:53 PM
custom component using DHTML and/or scripting Hans de Vetten Windows XP Embedded 2 10th Sep 2003 03:22 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:20 PM.