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

Send Button on Custom Task Form



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old June 14th 07, 10:46 PM posted to microsoft.public.outlook.program_forms
steve
external usenet poster
 
Posts: 4
Default Send Button on Custom Task Form

I'm experimenting with creating a custom task form. I want to
automatically assign all tasks to one person. To do that I set the
initial value of the "to:" field to "John Doe". I then use VBScript
to get rid of the Assign button from the Command bar. The final step
is to add the Send button to the command bar, so the task can be sent
to the person assigned. I can't figure out how to do that. Any
ideas. Here's the code I used to get rid of the Assign button.

dim MyCommandBar
dim MyMenu
set MyCommandBar=Item.GetInspector.commandbars.item("s tandard")
set MyMenu = MyCommandBar.Controls("assign task")
MyMenu.Visible = false


thanks

Ads
  #2  
Old June 14th 07, 10:55 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Send Button on Custom Task Form

You must call Item.Assign in order for the Send button to display.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"steve" wrote in message ups.com...
I'm experimenting with creating a custom task form. I want to
automatically assign all tasks to one person. To do that I set the
initial value of the "to:" field to "John Doe". I then use VBScript
to get rid of the Assign button from the Command bar. The final step
is to add the Send button to the command bar, so the task can be sent
to the person assigned. I can't figure out how to do that. Any
ideas. Here's the code I used to get rid of the Assign button.

dim MyCommandBar
dim MyMenu
set MyCommandBar=Item.GetInspector.commandbars.item("s tandard")
set MyMenu = MyCommandBar.Controls("assign task")
MyMenu.Visible = false


thanks

  #3  
Old June 15th 07, 05:33 AM posted to microsoft.public.outlook.program_forms
steve
external usenet poster
 
Posts: 4
Default Send Button on Custom Task Form

GREAT! Just what i wanted.

thanks



On Jun 14, 4:55 pm, "Sue Mosher [MVP-Outlook]"
wrote:
You must call Item.Assign in order for the Send button to display.

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54



"steve" wrote in oglegroups.com...
I'm experimenting with creating a custom task form. I want to
automatically assign all tasks to one person. To do that I set the
initial value of the "to:" field to "John Doe". I then use VBScript
to get rid of the Assign button from the Command bar. The final step
is to add the Send button to the command bar, so the task can be sent
to the person assigned. I can't figure out how to do that. Any
ideas. Here's the code I used to get rid of the Assign button.


dim MyCommandBar
dim MyMenu
set MyCommandBar=Item.GetInspector.commandbars.item("s tandard")
set MyMenu = MyCommandBar.Controls("assign task")
MyMenu.Visible = false


thanks- Hide quoted text -


- Show quoted text -



 




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
Custom Task Form - Assign Button steve Outlook - Using Forms 1 July 8th 07 08:36 PM
Button to custom form Uncle Vito Outlook - Using Forms 3 March 3rd 07 03:06 PM
How to add a button to a custom form with vbscript Robert Lindermeier - Your-Admin eK Outlook - Using Forms 3 February 26th 07 05:02 PM
Custom Task Form calvin351 Outlook - Using Forms 3 June 15th 06 03:27 AM
How to use custom task form in Web Outlook DougMunday Outlook - Using Forms 1 April 7th 06 01:18 PM


All times are GMT +1. The time now is 11:43 AM.


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.