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

Capturing Outlook Forms Events



 
 
Thread Tools Search this Thread Display Modes
  #11  
Old August 28th 09, 07:53 PM posted to microsoft.public.outlook.program_forms
Duke2
external usenet poster
 
Posts: 13
Default Capturing Outlook Forms Events

I'm sorry for not being clear on what am I going to do to the original
message. I'm simply not going to show it the recipient, but then forward a
copy (through a back end process run on Exchagne Server) to an auditor and
preserve it as evidence. In case the auditor gives the approval I'll remove
the blocked status on the message and afterwards user will be able to see the
original contents.

Thanks for the links, I'll check them out now.
Duke

BTW: Pete McClean told me to say hi to you.
Ads
  #12  
Old August 28th 09, 08:25 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP][_3_]
external usenet poster
 
Posts: 465
Default Capturing Outlook Forms Events

This sounds like a scenario that should be implemented totally at the server
level, with no client-side functionality involved, much as some spam filters
operate.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"Duke2" wrote in message
...
I'm sorry for not being clear on what am I going to do to the original
message. I'm simply not going to show it the recipient, but then forward a
copy (through a back end process run on Exchagne Server) to an auditor
and
preserve it as evidence. In case the auditor gives the approval I'll
remove
the blocked status on the message and afterwards user will be able to see
the
original contents.

Thanks for the links, I'll check them out now.
Duke

BTW: Pete McClean told me to say hi to you.



  #13  
Old August 28th 09, 09:34 PM posted to microsoft.public.outlook.program_forms
Duke2
external usenet poster
 
Posts: 13
Default Capturing Outlook Forms Events

Hi Sue,

Thank you very much for the advise. I'm now convinced that doing this
operation at client side is not possible.

However to do this at server side, I need to capture message selection event
and then run my check on the server. Do you think Exchange will allow me to
capture message selection events? I know this is something that's not
possible with EWS as it's essentially a request-based set of operations.
  #14  
Old August 28th 09, 10:49 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP][_3_]
external usenet poster
 
Posts: 465
Default Capturing Outlook Forms Events

Message selection, being a client function, doesn't fire an event on the
server. But if you modify the contents of the all the messages as they
arrive it, you don't need selection.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"Duke2" wrote in message
...
Hi Sue,

Thank you very much for the advise. I'm now convinced that doing this
operation at client side is not possible.

However to do this at server side, I need to capture message selection
event
and then run my check on the server. Do you think Exchange will allow me
to
capture message selection events? I know this is something that's not
possible with EWS as it's essentially a request-based set of operations.



  #15  
Old August 28th 09, 11:26 PM posted to microsoft.public.outlook.program_forms
Duke2
external usenet poster
 
Posts: 13
Default Capturing Outlook Forms Events

Hi Sue,

I'm sorry for making things confusing. Let me explain my requirement in a
differnet (hopefully) simpler way.

When a I select a message by clicking on it on Outlook, I want to capture
that event and inside that event I want to retrieve its message ID, and
instead of retrieving the message X (which it should retrieve), I want to
retrieve message Y from the same mailbox. Is this something possible to do in
Outlook forms?

Thanks
Duke
  #16  
Old August 28th 09, 11:36 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP][_3_]
external usenet poster
 
Posts: 465
Default Capturing Outlook Forms Events

You mean "display," not "retrieve" for the messages, right? And you also
have the requirement, I presume, to prevent the user from seeing the
original item's content. If so, the only way to accomplish those goals is
for the original content to have been replaced *before* the user can do
anything with the item, and that's not something that can be done with an
Outlook form alone.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"Duke2" wrote in message
...
Hi Sue,

I'm sorry for making things confusing. Let me explain my requirement in a
differnet (hopefully) simpler way.

When a I select a message by clicking on it on Outlook, I want to capture
that event and inside that event I want to retrieve its message ID, and
instead of retrieving the message X (which it should retrieve), I want to
retrieve message Y from the same mailbox. Is this something possible to do
in
Outlook forms?

Thanks
Duke



  #17  
Old August 29th 09, 12:34 AM posted to microsoft.public.outlook.program_forms
Duke2
external usenet poster
 
Posts: 13
Default Capturing Outlook Forms Events

Hi Sue,

No I mean "retrieve" not just "display". Can I change Outlook to retrieve a
different message instead of the message it's supposed to retrieve from
server?

Thanks
Duke


  #18  
Old August 29th 09, 12:46 AM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP][_3_]
external usenet poster
 
Posts: 465
Default Capturing Outlook Forms Events

In a programming context, "retrieve" generally means to return values from
some source. You can return whatever values you want from whatever source
you want, but if you want to block the message -- as your previous posts
indicated -- then I can only assume that you're talking about what is
displayed in the UI. So, that's "display," not "retrieve."

Or do you have some other scenario in mind?
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"Duke2" wrote in message
...
Hi Sue,

No I mean "retrieve" not just "display". Can I change Outlook to retrieve
a
different message instead of the message it's supposed to retrieve from
server?

Thanks
Duke




  #19  
Old August 29th 09, 12:57 AM posted to microsoft.public.outlook.program_forms
Duke2
external usenet poster
 
Posts: 13
Default Capturing Outlook Forms Events

Yes in that context it's "display". I only want to display a different
message without replacing the original message in the server. So later on
when I want to, I can display the original message.

In perview however, I dont mind showing the original message.

Thanks
Duke


  #20  
Old August 29th 09, 01:32 AM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP][_3_]
external usenet poster
 
Posts: 465
Default Capturing Outlook Forms Events

Well, I can't say that makes any sense to me. I mean, what's the point of
showing the user one thing in the reading pane and another thing in the
Inspector window. That sounds like a recipe for confusion. It's certainly
not a scenario that would fit any definition of blocking that I've ever
encountered.

But if you want to do it, just use a custom form for those items that runs
whatever code you want in the Item_Open event handler. Or, even simpler,
design the custom form so that the only visible page has a text box on it
with whatever it is you want the user to see, rather than the message body.

All subject, of course, to the warning I gave earlier about potential
problems with attachments if any of these items are forwarded.

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


"Duke2" wrote in message
...
Yes in that context it's "display". I only want to display a different
message without replacing the original message in the server. So later on
when I want to, I can display the original message.

In perview however, I dont mind showing the original message.

Thanks
Duke




 




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
Capturing Send/Receive events in VSTO add-in Aakash Polra Outlook - General Queries 1 September 30th 08 05:49 PM
Capturing user Keypress in Outlook VBA Praveen Mishra Outlook and VBA 3 April 1st 08 01:42 PM
Capturing OE 6.0 Message Steve[_2_] Outlook Express 1 August 7th 07 12:01 PM
Control events in Outlook 2007 custom forms/regions nalpakj Outlook - Using Forms 1 January 10th 07 02:17 PM
Control events in Outlook 2007 custom forms/regions nalpakj Outlook - Using Forms 1 January 9th 07 11:08 PM


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