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

Advice on creating button to launch custom form



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old June 26th 07, 03:15 PM posted to microsoft.public.outlook.program_forms
Eric J
external usenet poster
 
Posts: 10
Default Advice on creating button to launch custom form

We created a custom form and would like to create a toolbar button to launch
the form - we need to install this button on many computers - just looking
for suggestions on the best/easiest way to accomplish this task. Thanks
Ads
  #2  
Old June 26th 07, 03:51 PM posted to microsoft.public.outlook.program_forms
SvenC
external usenet poster
 
Posts: 11
Default Advice on creating button to launch custom form

Hi

We created a custom form and would like to create a toolbar button to
launch the form - we need to install this button on many computers -
just looking for suggestions on the best/easiest way to accomplish
this task. Thanks


1) Exchange Client extensions work with all versions of Outlook and you can
distribute them as msi in group policies assigned to machines.
The problem is the "archived documentation". Here is an old MSDN article:
http://msdn.microsoft.com/archive/de..._outextend.asp
You can also use the old MSDN 2001 for Visual Studio 6 to get more details.

2) A COM-Addins have the advantage of being documented in the current MSDN
but in Outlook they are a bit more painfull as commandbars and their buttons
have to be added to all opened windows dynamically, not only once when the
addin is created. Outlook speaks of Explorers (the Outlook main window) and
Inspectors (windows to visualize items like mail, contacts...). There are
collection objects for both and you need to advise the
NewExplorer/NewInspector evenst and add your button to the new
explorer/inspector.
This is a bit more complex but you get better support for different button
types.
This can also be distributed as MSI in a group policy. You can choose user
or machine distribution.

3) VSTO. This is a .Net wrapper around COM-Addins so you can use C# or
VB.Net. I didn't go that route as you have to target a single Office
version. There are unsupported ways of doing Office 2003/2007 in one
assembly but I would want to go that way.


So I recommend 2)

--
SvenC


  #3  
Old June 26th 07, 03:54 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Advice on creating button to launch custom form

If you want a toolbar button, the best way would be to use an add-in. See http://www.outlookcode.com/article.aspx?id=56

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


"Eric J" wrote in message ...
We created a custom form and would like to create a toolbar button to launch
the form - we need to install this button on many computers - just looking
for suggestions on the best/easiest way to accomplish this task. Thanks

  #4  
Old June 26th 07, 04:03 PM posted to microsoft.public.outlook.program_forms
Eric J
external usenet poster
 
Posts: 10
Default Advice on creating button to launch custom form

Thanks for the great information - I appreciate the advice and will start
working on your recommendation

Eric

"SvenC" wrote:

Hi

We created a custom form and would like to create a toolbar button to
launch the form - we need to install this button on many computers -
just looking for suggestions on the best/easiest way to accomplish
this task. Thanks


1) Exchange Client extensions work with all versions of Outlook and you can
distribute them as msi in group policies assigned to machines.
The problem is the "archived documentation". Here is an old MSDN article:
http://msdn.microsoft.com/archive/de..._outextend.asp
You can also use the old MSDN 2001 for Visual Studio 6 to get more details.

2) A COM-Addins have the advantage of being documented in the current MSDN
but in Outlook they are a bit more painfull as commandbars and their buttons
have to be added to all opened windows dynamically, not only once when the
addin is created. Outlook speaks of Explorers (the Outlook main window) and
Inspectors (windows to visualize items like mail, contacts...). There are
collection objects for both and you need to advise the
NewExplorer/NewInspector evenst and add your button to the new
explorer/inspector.
This is a bit more complex but you get better support for different button
types.
This can also be distributed as MSI in a group policy. You can choose user
or machine distribution.

3) VSTO. This is a .Net wrapper around COM-Addins so you can use C# or
VB.Net. I didn't go that route as you have to target a single Office
version. There are unsupported ways of doing Office 2003/2007 in one
assembly but I would want to go that way.


So I recommend 2)

--
SvenC



  #5  
Old June 26th 07, 05:41 PM posted to microsoft.public.outlook.program_forms
Eric J
external usenet poster
 
Posts: 10
Default Advice on creating button to launch custom form

Thanks for the link! Look forward to reading the new book!

Eric J

"Sue Mosher [MVP-Outlook]" wrote:

If you want a toolbar button, the best way would be to use an add-in. See http://www.outlookcode.com/article.aspx?id=56

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


"Eric J" wrote in message ...
We created a custom form and would like to create a toolbar button to launch
the form - we need to install this button on many computers - just looking
for suggestions on the best/easiest way to accomplish this task. Thanks


 




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
Button to custom form Uncle Vito Outlook - Using Forms 3 March 3rd 07 02:06 PM
Creating Custom Mail Form Sam Outlook - Using Forms 3 September 19th 06 07:40 PM
Creating a custom appointment form Theresa Smallwood Outlook and VBA 11 May 15th 06 03:47 PM
Creating a custom appointment form Sue Mosher [MVP-Outlook] Outlook - Using Forms 10 May 15th 06 03:47 PM
Creating new Appointment out of Custom Form Marc Herbrik Outlook and VBA 2 May 8th 06 03:38 PM


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