View Single Post
  #5  
Old August 5th 06, 04:20 PM posted to microsoft.public.outlook.program_addins
[email protected]
external usenet poster
 
Posts: 5
Default Reading Pane Context Menu VBA Help

Hi, Paul

As You could read in MSDN article I've mentioned earlier, Smart Tag You
need to use to add a custom menu item to "Additional Actions" submenu
is #PersonName (urn:schemas-microsoft-comffice:smarttags#PersonName).
So, You have to expand existing system Smart Tag with Your custom
actions. As far as I've understood from Your the very first post - you
need to create a menu item, which can take user to some web-page,
depending on his name. There are 2 possible ways to implement this
stuff: expand Smart Tag with special-formatted XML or with the help of
Smart Tag DLL, which You'll need to implement using C#, VB.NET
languages or unmanaged VC++ with ATL (if You're against .Net technology
at all ). (From my experience, I can tell you only that using .Net
will be the best decision, because Smart Tag DLLs implemented with
unmanaged VC++ have a little bit strange behaviour in the latest Office
applications). The decision which way to use (XML or DLL) depends on
what type of target URL You need and how it depends on contact's name.

The following links contains enough information about Smart Tag XML &
DLL developing:

http://msdn.microsoft.com/library/de...ce06072001.asp

http://search.msdn.microsoft.com/sea...+Tag+Solutions

Good luck

If You'll have any problems with implementation just let me know

Paul wrote:
Thanks - I'd settle for adding to the "Additional Actions" persona
submenu. Could you point me to an example or two? The MS link didn't
really say too much.

wrote:
Better to see some more info about the Persona Menu & Smart Tags. You
can add custom menu items only to "Additional Actions" submenu. Here is
an usefull link to start with:

http://msdn.microsoft.com/library/de...HV01082081.asp

Good luck

Paul wrote:
I'm an experienced VBA Excel programmer, but am new to Outlook. I need
some help adding a custom menu item to one of Outlook's pop up context
menus.

I hope I can word the appropriate question here.

I have Outlook 2003 installed locally. It uses our corporate network
mail servers. Our administrators have set up the Outlook reading pane
to display a "windows messenger" icon next to the sender's name and
email address at the top of the pane. If you click the icon or right
click the senders name, a pop up menu appears showing several of the
senders properties from our corporate ldap source (e.g., name, business
phone, location, etc.). In addition Outlook provides other menu items
in the pop up like: additional actions, create rule, lookup outlook
contact, and outlook properties.

I would like to insert a custom menu item in this pop up. It would use
the senders name to essentially follow a hyperlink to a web page.

Could you outline how I might programmatically insert this custom menu
item (couldn't find the name/id for the pop up). Does Outlook have a
FollowHyperlink method which would bring up the web page?

Thanks Very Much,
Paul Katz


Ads