Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming Forms / June 2007

Tip: Looking for answers? Try searching our database.

Advice on creating button to launch custom form

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Eric J - 26 Jun 2007 15:15 GMT
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
SvenC - 26 Jun 2007 15:51 GMT
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/default.asp?url=/archive/en-us/dnarout98/html/
msdn_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
Eric J - 26 Jun 2007 16:03 GMT
Thanks for the great information - I appreciate the advice and will start
working on your recommendation

Eric

> Hi
>
[quoted text clipped - 31 lines]
> --
> SvenC
Sue Mosher [MVP-Outlook] - 26 Jun 2007 15:54 GMT
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

Signature

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

> 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
Eric J - 26 Jun 2007 17:41 GMT
Thanks for the link!  Look forward to reading the new book!

Eric J

> 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
>
> > 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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.