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

ActiveX add-in hosted in form



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old December 21st 06, 07:53 AM posted to microsoft.public.outlook.program_forms
Tim Radford
external usenet poster
 
Posts: 12
Default ActiveX add-in hosted in form

I need to be able to add a tab (form) to the appointment details and run my
own application code in it. This should work from Outlook 2000 up. There's
plenty on the web to suggest that this is possible but I've not found any
tips on how to do it. My program will need access to the appointment
details, including attendee list, and needs to be invoked even if the actual
page hosting it is not selected when an appointment is altered.

If someone can just tell me where to look...

Thanks
Tim


Ads
  #2  
Old December 21st 06, 03:07 PM posted to microsoft.public.outlook.program_forms
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default ActiveX add-in hosted in form

You can host an ActiveX control on your form, although it may not work
correctly or fire all of your events. That would have to be empirically
determined. Otherwise all forms code is VBScript code behind the form.

The first tab of an appointment form cannot be customized at all. You can
customize any of the normally hidden tabs (P.2 to P.6).

A good starting place to look is at http://www.outlookcode.com/d/forms.htm

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


"Tim Radford" wrote in message
...
I need to be able to add a tab (form) to the appointment details and run my
own application code in it. This should work from Outlook 2000 up.
There's plenty on the web to suggest that this is possible but I've not
found any tips on how to do it. My program will need access to the
appointment details, including attendee list, and needs to be invoked even
if the actual page hosting it is not selected when an appointment is
altered.

If someone can just tell me where to look...

Thanks
Tim



  #3  
Old December 21st 06, 03:47 PM posted to microsoft.public.outlook.program_forms
Tim Radford
external usenet poster
 
Posts: 12
Default ActiveX add-in hosted in form

Is there a better way of achieving what I want that will work correctly? It
doesn't seem to me that my requirement is that advanced.

I had already looked for an answer in this website but I just seem to follow
link after link without finding what I need.

Tim



"Ken Slovak - [MVP - Outlook]" wrote in message
...
You can host an ActiveX control on your form, although it may not work
correctly or fire all of your events. That would have to be empirically
determined. Otherwise all forms code is VBScript code behind the form.

The first tab of an appointment form cannot be customized at all. You can
customize any of the normally hidden tabs (P.2 to P.6).

A good starting place to look is at http://www.outlookcode.com/d/forms.htm

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


"Tim Radford" wrote in message
...
I need to be able to add a tab (form) to the appointment details and run

my
own application code in it. This should work from Outlook 2000 up.
There's plenty on the web to suggest that this is possible but I've not
found any tips on how to do it. My program will need access to the
appointment details, including attendee list, and needs to be invoked

even
if the actual page hosting it is not selected when an appointment is
altered.

If someone can just tell me where to look...

Thanks
Tim





  #4  
Old December 21st 06, 05:45 PM posted to microsoft.public.outlook.program_forms
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default ActiveX add-in hosted in form

I have no idea of exactly what you want to accomplish, so it's hard to say.
The details in your original post didn't explain very much.

Do you actually need a custom form? Does your ActiveX object present a UI
that the form needs?

What I normally do is avoid custom forms at all costs if I can. The
technology is older, not very robust and subject to all sorts of problems. I
usually where I can and don't need a custom UI integrated right into the
form is use a COM addin for everything. I can add buttons, toolbars (or
ribbon tabs/controls) to bring up forms, and I can handle every event on an
item from an addin. I can run code that does all sorts of processing and not
get involved with custom forms at all.

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


"Tim Radford" wrote in message
...
Is there a better way of achieving what I want that will work correctly?
It
doesn't seem to me that my requirement is that advanced.

I had already looked for an answer in this website but I just seem to
follow
link after link without finding what I need.

Tim


  #5  
Old December 22nd 06, 11:34 AM posted to microsoft.public.outlook.program_forms
Tim Radford
external usenet poster
 
Posts: 12
Default ActiveX add-in hosted in form

Thanks for your reply Ken.

I need to embed a customised drag & drop chart and I don't think this can be
achieved without a custom form. I'd also like to embed a web page, but it
must be in an appointment tab. I might be able to use an add-in but it would
look so much neater as a tab.

I've not done anything with Outlook before (or COM for that matter) but I
gather that an add-in could be embedded in a sub-pane of the appointment
detail. I was wondering whether I could achieve the required affect by
hiding the add-in unless a particular tab had been selected. Would I have
access to the tab-selection event?

Your advice is appreciated.
Tim



"Ken Slovak - [MVP - Outlook]" wrote in message
...
I have no idea of exactly what you want to accomplish, so it's hard to

say.
The details in your original post didn't explain very much.

Do you actually need a custom form? Does your ActiveX object present a UI
that the form needs?

What I normally do is avoid custom forms at all costs if I can. The
technology is older, not very robust and subject to all sorts of problems.

I
usually where I can and don't need a custom UI integrated right into the
form is use a COM addin for everything. I can add buttons, toolbars (or
ribbon tabs/controls) to bring up forms, and I can handle every event on

an
item from an addin. I can run code that does all sorts of processing and

not
get involved with custom forms at all.

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


"Tim Radford" wrote in message
...
Is there a better way of achieving what I want that will work correctly?
It
doesn't seem to me that my requirement is that advanced.

I had already looked for an answer in this website but I just seem to
follow
link after link without finding what I need.

Tim




  #6  
Old December 22nd 06, 12:20 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default ActiveX add-in hosted in form

YOu might want to look at the developer toolkit at http://www.add-in-express.com/outlook-extension/. It may be better suited to your needs.

There is no tab-selection event in versions before Outlook 2007.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"Tim Radford" wrote in message ...
Thanks for your reply Ken.

I need to embed a customised drag & drop chart and I don't think this can be
achieved without a custom form. I'd also like to embed a web page, but it
must be in an appointment tab. I might be able to use an add-in but it would
look so much neater as a tab.

I've not done anything with Outlook before (or COM for that matter) but I
gather that an add-in could be embedded in a sub-pane of the appointment
detail. I was wondering whether I could achieve the required affect by
hiding the add-in unless a particular tab had been selected. Would I have
access to the tab-selection event?

Your advice is appreciated.
Tim



"Ken Slovak - [MVP - Outlook]" wrote in message
...
I have no idea of exactly what you want to accomplish, so it's hard to

say.
The details in your original post didn't explain very much.

Do you actually need a custom form? Does your ActiveX object present a UI
that the form needs?

What I normally do is avoid custom forms at all costs if I can. The
technology is older, not very robust and subject to all sorts of problems.

I
usually where I can and don't need a custom UI integrated right into the
form is use a COM addin for everything. I can add buttons, toolbars (or
ribbon tabs/controls) to bring up forms, and I can handle every event on

an
item from an addin. I can run code that does all sorts of processing and

not
get involved with custom forms at all.

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


"Tim Radford" wrote in message
...
Is there a better way of achieving what I want that will work correctly?
It
doesn't seem to me that my requirement is that advanced.

I had already looked for an answer in this website but I just seem to
follow
link after link without finding what I need.

Tim




  #7  
Old December 22nd 06, 03:02 PM posted to microsoft.public.outlook.program_forms
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default ActiveX add-in hosted in form

To add to what Sue said, you can't add anything to any of the built-in tabs
that you see in an appointment item. You have to add any modifications to
one of the normally hidden P.2 to P.6 tabs and you cannot add additional
tabs to those that exist already.

You don't add "addins" to a form, you can add ActiveX controls. That might
just be your using a different terminology, but it's an important
distinction. Even with a tested ActiveX control that say fires all of its
events in a VBA UserForm or Windows form or VB form or whatever, those
events may not fire when the control is placed on an Outlook form. That
you'd have to determine empirically, there's no way to predict that.

Some ActiveX controls that work perfectly in other forms may also crash an
Outlook form or even crash Outlook when placed on an Outlook form and
accessed. Again, that has to be determined empirically.

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


"Tim Radford" wrote in message
...
Thanks for your reply Ken.

I need to embed a customised drag & drop chart and I don't think this can
be
achieved without a custom form. I'd also like to embed a web page, but it
must be in an appointment tab. I might be able to use an add-in but it
would
look so much neater as a tab.

I've not done anything with Outlook before (or COM for that matter) but I
gather that an add-in could be embedded in a sub-pane of the appointment
detail. I was wondering whether I could achieve the required affect by
hiding the add-in unless a particular tab had been selected. Would I have
access to the tab-selection event?

Your advice is appreciated.
Tim


  #8  
Old December 22nd 06, 11:08 PM posted to microsoft.public.outlook.program_forms
Tim Radford
external usenet poster
 
Posts: 12
Default ActiveX add-in hosted in form

Thank you both

I've had a look at ADX Extension and it looks as though it may be the way
forward. It sounds as though the Outlook/ActiveX combination is too buggy
to risk.

After the holidays...

Thanks again and Merry Xmas
Tim




"Ken Slovak - [MVP - Outlook]" wrote in message
...
To add to what Sue said, you can't add anything to any of the built-in

tabs
that you see in an appointment item. You have to add any modifications to
one of the normally hidden P.2 to P.6 tabs and you cannot add additional
tabs to those that exist already.

You don't add "addins" to a form, you can add ActiveX controls. That might
just be your using a different terminology, but it's an important
distinction. Even with a tested ActiveX control that say fires all of its
events in a VBA UserForm or Windows form or VB form or whatever, those
events may not fire when the control is placed on an Outlook form. That
you'd have to determine empirically, there's no way to predict that.

Some ActiveX controls that work perfectly in other forms may also crash an
Outlook form or even crash Outlook when placed on an Outlook form and
accessed. Again, that has to be determined empirically.

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


"Tim Radford" wrote in message
...
Thanks for your reply Ken.

I need to embed a customised drag & drop chart and I don't think this

can
be
achieved without a custom form. I'd also like to embed a web page, but

it
must be in an appointment tab. I might be able to use an add-in but it
would
look so much neater as a tab.

I've not done anything with Outlook before (or COM for that matter) but

I
gather that an add-in could be embedded in a sub-pane of the appointment
detail. I was wondering whether I could achieve the required affect by
hiding the add-in unless a particular tab had been selected. Would I

have
access to the tab-selection event?

Your advice is appreciated.
Tim




 




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
ActiveX Message on Signature Insert Jane Outlook - Installation 1 January 31st 07 05:34 PM
Prohibited from running ActiveX controls. C. Sharp Outlook - Installation 7 August 28th 06 04:10 PM
Configuring a PRF file for unknown MailboxUser= value in hosted environment [email protected] Outlook - Installation 2 August 10th 06 11:38 PM
sharing contacts, tasks and calendar using exchange 2003 (hosted) Steve S Outlook - Installation 1 May 10th 06 03:09 PM
Odd issue with Outlook-hosted webpage tooltips. [email protected] Outlook - General Queries 4 January 9th 06 06:33 PM


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