How to use a Click event command to submit a form 
Author Message
 How to use a Click event command to submit a form

I'm developing a custom form in Outlook2000.  It's a survey.  I would
like the recipients to be able to begin responding to the questions
when they open the message and click a button at the bottom of the
survey that will submit their responses (possibly to a public folder)
and delete the original message from their inbox.  Is this possible?
Is there a better way to do this? (I'm sure there must be!)  How can I
do it?  I'm a novice at scripting so any help would be greatly
appreciated.  Thanks in advance.


Wed, 04 Aug 2004 04:01:13 GMT  
 How to use a Click event command to submit a form
To run code when a user click's a button:

Sub MyButton_Click:
    ' some code here
End Sub

where MyButton is the name of your command button control.

You might want to take a look at the Survey sample form at http://www.slipstick.com/dev/olforms/survey.htm

--
Sue Mosher, Outlook MVP
   Outlook and Exchange Solutions
   at http://www.slipstick.com

Quote:

> I'm developing a custom form in Outlook2000.  It's a survey.  I would
> like the recipients to be able to begin responding to the questions
> when they open the message and click a button at the bottom of the
> survey that will submit their responses (possibly to a public folder)
> and delete the original message from their inbox.  Is this possible?
> Is there a better way to do this? (I'm sure there must be!)  How can I
> do it?  I'm a novice at scripting so any help would be greatly
> appreciated.  Thanks in advance.



Wed, 04 Aug 2004 04:33:55 GMT  
 How to use a Click event command to submit a form
Sorry I was not enough clear.

I currently working in ms access, I need to get one mail attached file of a
multiple attached doc to insert it in a long binary field.

I have to do it by a drag and drop or copy and past.

I know how I can get all attached file with Outlook model object but I don't
how I can get the file copied in the clipboard.

So If I could identify in ms access which file is selected when the user
right click the attached document, I could easily get it and past it in my
long binary field.

Maybe it's more clear like that.

If you have some example or if you no somebody who can help me, I will
really appreciate.

Thanking you in advance

Christophe



To run code when a user click's a button:

Sub MyButton_Click:
    ' some code here
End Sub

where MyButton is the name of your command button control.

You might want to take a look at the Survey sample form at
http://www.slipstick.com/dev/olforms/survey.htm

--
Sue Mosher, Outlook MVP
   Outlook and Exchange Solutions
   at http://www.slipstick.com


Quote:
> I'm developing a custom form in Outlook2000.  It's a survey.  I would
> like the recipients to be able to begin responding to the questions
> when they open the message and click a button at the bottom of the
> survey that will submit their responses (possibly to a public folder)
> and delete the original message from their inbox.  Is this possible?
> Is there a better way to do this? (I'm sure there must be!)  How can I
> do it?  I'm a novice at scripting so any help would be greatly
> appreciated.  Thanks in advance.



Sat, 07 Aug 2004 03:08:26 GMT  
 How to use a Click event command to submit a form
I'm afraid that Outlook doesn't provide any way to determine what attachment a user may have selected.

--
Sue Mosher, Outlook MVP
   Outlook and Exchange Solutions
   at http://www.slipstick.com

Quote:

> Sorry I was not enough clear.

> I currently working in ms access, I need to get one mail attached file of a
> multiple attached doc to insert it in a long binary field.

> I have to do it by a drag and drop or copy and past.

> I know how I can get all attached file with Outlook model object but I don't
> how I can get the file copied in the clipboard.

> So If I could identify in ms access which file is selected when the user
> right click the attached document, I could easily get it and past it in my
> long binary field.



Sat, 07 Aug 2004 03:49:38 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Programmatically Sending a Click Event to a Submit Button

2. Form Click .vs. Double-Click Events

3. submitting a form depending on button clicked

4. submitting a form depending on button clicked

5. 2 Submit options or OnClick Submit event

6. making a mdi form a form during run time with click event

7. Syntax for canceling a form submit in the onSubmit event

8. Intercept the submit event in a form within the WebBrowser control

9. SUBMIT form with 3 different submit buttons - error

10. Submitting Form WITHOUT Submit Button

11. SUBMIT form with 3 different submit buttons - error

12. What fires the submit action of a form without a submit button

 

 
Powered by phpBB® Forum Software