From: Nabil on
Hi,

Is it possible to trigger the above event programically i.e. something like

RaiseEvent Outlook.Application.ActiveExplorer.SelectionChange <<parameters>>

I know what I have to do but don't know where to start with the syntax!

I'm using

VB.NET
VSTO
Outlook 2007
Redemption

Thanks in advance!
From: Brian Tillman [MVP-Outlook] on
"Nabil" <Nabil(a)discussions.microsoft.com> wrote in message
news:2C6B8855-FC37-4709-9521-B98DCB11A8CD(a)microsoft.com...

> Is it possible to trigger the above event programically i.e. something like
>
> RaiseEvent Outlook.Application.ActiveExplorer.SelectionChange <<parameters>>
>
> I know what I have to do but don't know where to start with the syntax!

What "above event"? The servers that carry these posts each have their own
order of posting and you cannot rely upon everyong seeing things in the same
order.

By the way, the programming groups are microsoft.public.outlook.program_forms,
microsoft.public.outlook.program_addins, and
microsoft.public.outlook.program_vba. The latter seems the best fit for your
question, to me. You can also ask in "Microsoft Office Customization and
Programming"
(http://social.answers.microsoft.com/Forums/en-US/officeprog/threads), which
is where Microsoft wants you to ask programming questions. I expect the
microsoft.public.* newsgroups to wither on the vine any day now as Microsoft
turns off their NNTP servers.
--
Brian Tillman [MVP-Outlook]

From: Sue Mosher [MVP] on
It's possible in Outlook 2010, I think, but not in earlier versions.

In the future, please post Outlook code questions in the forum at
http://social.msdn.microsoft.com/Forums/en-US/outlookdev/threads
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54



"Nabil" wrote:

> Hi,
>
> Is it possible to trigger the above event programically i.e. something like
>
> RaiseEvent Outlook.Application.ActiveExplorer.SelectionChange <<parameters>>
>
> I know what I have to do but don't know where to start with the syntax!
>
> I'm using
>
> VB.NET
> VSTO
> Outlook 2007
> Redemption
>
> Thanks in advance!