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 » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

vs 2005 - adding toolbar in office 2003



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old August 20th 06, 02:34 PM posted to microsoft.public.outlook.program_addins
[email protected]
external usenet poster
 
Posts: 1
Default vs 2005 - adding toolbar in office 2003

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  
Old August 21st 06, 03:38 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default vs 2005 - adding toolbar in office 2003

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  
Old August 27th 06, 08:48 AM posted to microsoft.public.outlook.program_addins
אסף
external usenet poster
 
Posts: 1
Default vs 2005 - adding toolbar in office 2003

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  
Old August 27th 06, 07:37 PM posted to microsoft.public.outlook.program_addins
Eugene E. Starostin
external usenet poster
 
Posts: 6
Default vs 2005 - adding toolbar in office 2003

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  
Old August 28th 06, 12:50 PM posted to microsoft.public.outlook.program_addins
[email protected]
external usenet poster
 
Posts: 6
Default vs 2005 - adding toolbar in office 2003

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  
Old August 28th 06, 03:35 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default vs 2005 - adding toolbar in office 2003

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  
Old September 25th 06, 02:21 PM posted to microsoft.public.outlook.program_addins
john
external usenet poster
 
Posts: 4
Default vs 2005 - adding toolbar in office 2003

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  
Old September 25th 06, 02:21 PM posted to microsoft.public.outlook.program_addins
john
external usenet poster
 
Posts: 4
Default vs 2005 - adding toolbar in office 2003

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  
Old September 25th 06, 11:27 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default vs 2005 - adding toolbar in office 2003

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
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
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


All times are GMT +1. The time now is 05:53 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.