![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Hello friends,
I need your help. I got an assignment and I'm working on it for two days with no breakthrough. I need to add a toolbar in outlook. It suppose to contain several buttons\checkbox (I still don't know how many) that will indicate on user decisions. It also contains a new "Send" button that will send the message but will consider the user decisions. In samples that I saw it implemented by creating a office.commandbar and some office.commandbarbuttons . First of all I need checkbox. Moreover I want to be able to control the location of each button. In other words is there any way to create a usercontrol and combine it in the outlook as a toolbar? Is it possible to connect it to the messages? I'm working with visual studio 2005 and outlook 2003 Thanks John |
Ads |
#2
|
|||
|
|||
![]()
You can't add anything with a checkbox. You would need to set up a button
that opens your own form if you need checkboxes. Variable numbers of buttons displayed when you select a popup control can only be done if you set up a dynamic collection of button handler classes and add/remove buttons from that collection as needed. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm wrote in message ps.com... Hello friends, I need your help. I got an assignment and I'm working on it for two days with no breakthrough. I need to add a toolbar in outlook. It suppose to contain several buttons\checkbox (I still don't know how many) that will indicate on user decisions. It also contains a new "Send" button that will send the message but will consider the user decisions. In samples that I saw it implemented by creating a office.commandbar and some office.commandbarbuttons . First of all I need checkbox. Moreover I want to be able to control the location of each button. In other words is there any way to create a usercontrol and combine it in the outlook as a toolbar? Is it possible to connect it to the messages? I'm working with visual studio 2005 and outlook 2003 Thanks John |
#3
|
|||
|
|||
![]()
Hi ken,
But is it possible to add my own form to an office toolbar? How? I tried to use panel and it didn't work out. Which outlook object should I use in order to attach it a form and that it'll be showed in the tool-bar area? The idea that it'll appere at the toolbar zone and will be attached to the mails below. Thanks again John Ken Slovak - [MVP - Outlook] wrote: You can't add anything with a checkbox. You would need to set up a button that opens your own form if you need checkboxes. Variable numbers of buttons displayed when you select a popup control can only be done if you set up a dynamic collection of button handler classes and add/remove buttons from that collection as needed. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm wrote in message ps.com... Hello friends, I need your help. I got an assignment and I'm working on it for two days with no breakthrough. I need to add a toolbar in outlook. It suppose to contain several buttons\checkbox (I still don't know how many) that will indicate on user decisions. It also contains a new "Send" button that will send the message but will consider the user decisions. In samples that I saw it implemented by creating a office.commandbar and some office.commandbarbuttons . First of all I need checkbox. Moreover I want to be able to control the location of each button. In other words is there any way to create a usercontrol and combine it in the outlook as a toolbar? Is it possible to connect it to the messages? I'm working with visual studio 2005 and outlook 2003 Thanks John |
#4
|
|||
|
|||
![]()
John,
Have a look at http://www.add-in-express.com/office-toolbar-controls/ It allows you to use any .NET controls on Office toolbars. -- Regards from Belarus, Eugene E. Starostin --- http://www.add-in-express.com - steroids for Office developers "אסף" wrote in message oups.com... Hi ken, But is it possible to add my own form to an office toolbar? How? I tried to use panel and it didn't work out. Which outlook object should I use in order to attach it a form and that it'll be showed in the tool-bar area? The idea that it'll appere at the toolbar zone and will be attached to the mails below. Thanks again John Ken Slovak - [MVP - Outlook] wrote: You can't add anything with a checkbox. You would need to set up a button that opens your own form if you need checkboxes. Variable numbers of buttons displayed when you select a popup control can only be done if you set up a dynamic collection of button handler classes and add/remove buttons from that collection as needed. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm wrote in message ps.com... Hello friends, I need your help. I got an assignment and I'm working on it for two days with no breakthrough. I need to add a toolbar in outlook. It suppose to contain several buttons\checkbox (I still don't know how many) that will indicate on user decisions. It also contains a new "Send" button that will send the message but will consider the user decisions. In samples that I saw it implemented by creating a office.commandbar and some office.commandbarbuttons . First of all I need checkbox. Moreover I want to be able to control the location of each button. In other words is there any way to create a usercontrol and combine it in the outlook as a toolbar? Is it possible to connect it to the messages? I'm working with visual studio 2005 and outlook 2003 Thanks John |
#5
|
|||
|
|||
![]()
John,
object omissing = System.Reflection.Missing.Value; MyButton = (Office.CommandBarControl)oStandardBar.Controls.Ad d(Microsoft.Office.Core.MsoControlType.msoControlA ctiveX, omissing, omissing, omissing, omissing); MyButton.Caption = "My Custom Button5"; Microsoft.Office.Core._CommandBarActiveX activeXControl = MyButton as Microsoft.Office.Core._CommandBarActiveX; activeXControl.ControlCLSID = "{830C63B8-6C8A-4b64-99F2-237319703D8F}"; MyButton.Width = 32; MyButton.Height = 32; Just Create A Control Like This: Imports System.Windows.Forms Imports System.Collections.Generic Imports System.Runtime.InteropServices Global.Microsoft.VisualBasic.CompilerServices.Des ignerGenerated() _ Guid("54A09908-051E-46ec-8210-30A01A0C8F5C") _ Partial Class Test Inherits System.Windows.Forms.ListBox 'Control overrides dispose to clean up the component list. System.Diagnostics.DebuggerNonUserCode() _ Runtime.InteropServices.ComVisible(True) _ Protected Overrides Sub Dispose(ByVal disposing As Boolean) If disposing AndAlso components IsNot Nothing Then components.Dispose() End If MyBase.Dispose(disposing) End Sub Private components As System.ComponentModel.IContainer System.Diagnostics.DebuggerStepThrough() _ Private Sub InitializeComponent() components = New System.ComponentModel.Container() End Sub End Class After That you will be able any control that you create from .Net in Outlook Toolbar Groups. Eugene E. Starostin wrote: John, Have a look at http://www.add-in-express.com/office-toolbar-controls/ It allows you to use any .NET controls on Office toolbars. -- Regards from Belarus, Eugene E. Starostin --- http://www.add-in-express.com - steroids for Office developers "אסף" wrote in message oups.com... Hi ken, But is it possible to add my own form to an office toolbar? How? I tried to use panel and it didn't work out. Which outlook object should I use in order to attach it a form and that it'll be showed in the tool-bar area? The idea that it'll appere at the toolbar zone and will be attached to the mails below. Thanks again John Ken Slovak - [MVP - Outlook] wrote: You can't add anything with a checkbox. You would need to set up a button that opens your own form if you need checkboxes. Variable numbers of buttons displayed when you select a popup control can only be done if you set up a dynamic collection of button handler classes and add/remove buttons from that collection as needed. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm wrote in message ps.com... Hello friends, I need your help. I got an assignment and I'm working on it for two days with no breakthrough. I need to add a toolbar in outlook. It suppose to contain several buttons\checkbox (I still don't know how many) that will indicate on user decisions. It also contains a new "Send" button that will send the message but will consider the user decisions. In samples that I saw it implemented by creating a office.commandbar and some office.commandbarbuttons . First of all I need checkbox. Moreover I want to be able to control the location of each button. In other words is there any way to create a usercontrol and combine it in the outlook as a toolbar? Is it possible to connect it to the messages? I'm working with visual studio 2005 and outlook 2003 Thanks John |
#6
|
|||
|
|||
![]()
I don't know of any ways other than the ones suggested by others in this
thread. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "אסף" wrote in message oups.com... Hi ken, But is it possible to add my own form to an office toolbar? How? I tried to use panel and it didn't work out. Which outlook object should I use in order to attach it a form and that it'll be showed in the tool-bar area? The idea that it'll appere at the toolbar zone and will be attached to the mails below. Thanks again John |
#7
|
|||
|
|||
![]()
I think I didn't explained my problem. I want to add a
usercontrol\component to which I'll add my components. I want it to be placed in the tool-bar area. Moreover I want it to comunicate with the mails. Passing through the messages will change the details in my user-control thanks John Ken Slovak - [MVP - Outlook] wrote: I don't know of any ways other than the ones suggested by others in this thread. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "אסף" wrote in message oups.com... Hi ken, But is it possible to add my own form to an office toolbar? How? I tried to use panel and it didn't work out. Which outlook object should I use in order to attach it a form and that it'll be showed in the tool-bar area? The idea that it'll appere at the toolbar zone and will be attached to the mails below. Thanks again John |
#8
|
|||
|
|||
![]()
I think I didn't explained my problem. I want to add a
usercontrol\component to which I'll add my components. I want it to be placed in the tool-bar area. Moreover I want it to comunicate with the mails. Passing through the messages will change the details in my user-control thanks John Ken Slovak - [MVP - Outlook] wrote: I don't know of any ways other than the ones suggested by others in this thread. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "אסף" wrote in message oups.com... Hi ken, But is it possible to add my own form to an office toolbar? How? I tried to use panel and it didn't work out. Which outlook object should I use in order to attach it a form and that it'll be showed in the tool-bar area? The idea that it'll appere at the toolbar zone and will be attached to the mails below. Thanks again John |
#9
|
|||
|
|||
![]()
As I said, I know of no ways to do that other than the suggestions in this
thread. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "john" wrote in message ups.com... I think I didn't explained my problem. I want to add a usercontrol\component to which I'll add my components. I want it to be placed in the tool-bar area. Moreover I want it to comunicate with the mails. Passing through the messages will change the details in my user-control thanks John |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How do I configure Outlook 2003 with Norton Anti-Virus IS 2005 | Buckeyes | Outlook - Installation | 1 | July 2nd 06 06:47 AM |
adding holidays for 2006 and beyond mine end at 2005 | harworth | Outlook - Calandaring | 1 | May 12th 06 01:14 PM |
adding holidays for 2006 and beyond mine end at 2005 | harworth | Outlook - Calandaring | 0 | May 11th 06 10:54 PM |
Implementation differences in VS 2003 and VS 2005 regarding outloo | Peeyush | Outlook - Using Forms | 1 | April 17th 06 02:35 PM |
Office 2003 AND Office XP - aka Office 2002 | rrose selavy | Outlook - General Queries | 3 | January 14th 06 11:14 AM |