PC Review


Reply
Thread Tools Rate Thread

how do i fire events on read page of message form?

 
 
=?Utf-8?B?YmJ5YmVl?=
Guest
Posts: n/a
 
      7th Jan 2005
I created a custom message form for a survey. The compose page doesn't really
have anything on it. It's intended for the survey creator to enter DL and
send.
On the read page, i have a bunch of quesitons, radio buttons and a command
button to submit results

The command button click sub gets the values of the radio buttons and sends
a message to a specified recipient.

However, I cannot get the button to respond to click events. In fact, the
Item_read() and Item_open() events aren't firing either.

When I put the button on the Compose page, it works fine.

Any ideas?
--
-Bob
 
Reply With Quote
 
 
 
 
Sue Mosher [MVP-Outlook]
Guest
Posts: n/a
 
      7th Jan 2005
If the form runs code when you use Run This Form in design mode, but doesn't
run code after you have sent or saved an item using the form, you probably
have done something to "one-off" the form. Outlook 2003, Outlook 2002,
Outlook 2000 SP2 and Outlook 2000 or 98 with the Email Security Update will
not run code on one-off forms; see http://www.outlookcode.com/d/secforms.htm
for more information on this issue.

To ensure that a form does not one-off:

-- Make sure the "Send form definition with item" box on the (Properties)
tab of the form is *not* checked. [1]

-- For in-house corporate use with Exchange Server, publish the form to the
Organization Forms library or a public folder's forms library, as
appropriate for your application.

-- For collaboration via the Internet, publish your form to your Personal
Forms library. Save it as an .oft file and send it to other people who need
to use it with instructions to publish it with the same form name that you
used.

Many other things can cause one-off forms. If the above steps don't work on
a new item created with your form, see
http://www.slipstick.com/dev/formpub.htm#oneoff for other possible causes.

[1] Whenever you publish a message form, Outlook will suggest that you may
want to check the "Send form definition with item" box to ensure that the
recipient will have the form, especially if you're sending to someone via
the Internet. In the current Outlook security environment, this suggestion
is obsolete. Ignore it unless your form has no code behind it.


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


"bbybee" <(E-Mail Removed)> wrote in message
news:47E705A9-A0AA-4D7E-8EED-(E-Mail Removed)...
>I created a custom message form for a survey. The compose page doesn't
>really
> have anything on it. It's intended for the survey creator to enter DL and
> send.
> On the read page, i have a bunch of quesitons, radio buttons and a command
> button to submit results
>
> The command button click sub gets the values of the radio buttons and
> sends
> a message to a specified recipient.
>
> However, I cannot get the button to respond to click events. In fact, the
> Item_read() and Item_open() events aren't firing either.
>
> When I put the button on the Compose page, it works fine.
>
> Any ideas?
> --
> -Bob



 
Reply With Quote
 
=?Utf-8?B?YmJ5YmVl?=
Guest
Posts: n/a
 
      10th Jan 2005
I must have unwittingly answered "Yes" the the "Send form definition with
item" message. Once I removed this setting, it worked fine.

Thank you for your help!

"Sue Mosher [MVP-Outlook]" wrote:

> If the form runs code when you use Run This Form in design mode, but doesn't
> run code after you have sent or saved an item using the form, you probably
> have done something to "one-off" the form. Outlook 2003, Outlook 2002,
> Outlook 2000 SP2 and Outlook 2000 or 98 with the Email Security Update will
> not run code on one-off forms; see http://www.outlookcode.com/d/secforms.htm
> for more information on this issue.
>
> To ensure that a form does not one-off:
>
> -- Make sure the "Send form definition with item" box on the (Properties)
> tab of the form is *not* checked. [1]
>
> -- For in-house corporate use with Exchange Server, publish the form to the
> Organization Forms library or a public folder's forms library, as
> appropriate for your application.
>
> -- For collaboration via the Internet, publish your form to your Personal
> Forms library. Save it as an .oft file and send it to other people who need
> to use it with instructions to publish it with the same form name that you
> used.
>
> Many other things can cause one-off forms. If the above steps don't work on
> a new item created with your form, see
> http://www.slipstick.com/dev/formpub.htm#oneoff for other possible causes.
>
> [1] Whenever you publish a message form, Outlook will suggest that you may
> want to check the "Send form definition with item" box to ensure that the
> recipient will have the form, especially if you're sending to someone via
> the Internet. In the current Outlook security environment, this suggestion
> is obsolete. Ignore it unless your form has no code behind it.
>
>
> --
> Sue Mosher, Outlook MVP
> Author of
> Microsoft Outlook Programming - Jumpstart for
> Administrators, Power Users, and Developers
> http://www.outlookcode.com/jumpstart.aspx
>
>
> "bbybee" <(E-Mail Removed)> wrote in message
> news:47E705A9-A0AA-4D7E-8EED-(E-Mail Removed)...
> >I created a custom message form for a survey. The compose page doesn't
> >really
> > have anything on it. It's intended for the survey creator to enter DL and
> > send.
> > On the read page, i have a bunch of quesitons, radio buttons and a command
> > button to submit results
> >
> > The command button click sub gets the values of the radio buttons and
> > sends
> > a message to a specified recipient.
> >
> > However, I cannot get the button to respond to click events. In fact, the
> > Item_read() and Item_open() events aren't firing either.
> >
> > When I put the button on the Compose page, it works fine.
> >
> > Any ideas?
> > --
> > -Bob

>
>
>

 
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
Error message: interface has too many methods to fire events from David H Windows XP MovieMaker 1 22nd Dec 2007 11:51 PM
Page events does not fire Hennie Microsoft ASP .NET 0 6th Jul 2006 07:10 AM
User Control causes events on page not to fire Tebogo Tefo via .NET 247 Microsoft ASP .NET 1 16th Mar 2005 01:49 PM
Inherited Page Won't Fire Postback Events James Hancock Microsoft ASP .NET 4 8th Apr 2004 01:51 AM
events on page will not fire Brent Burkart Microsoft ASP .NET 1 25th Nov 2003 01:51 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:43 PM.