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

Tags: , , ,

forward an attachment with form region





 
 
Thread Tools Display Modes
  #1  
Old March 14th 07, 06:28 PM posted to microsoft.public.outlook.program_forms
Nikolas
external usenet poster
 
Posts: 34
Default forward an attachment with form region

Hi,

Created an Outlook 2007 Addin using VSTO and form regions. When forwarding a
mail item that has been opened with one of our form region that has an
attachment we want to catch the forward even just before the new mail item
has been created. We basically want to alter the attachment when the user
presses the forward button on the ribbon and then forward the mail item.

Is there a "before forward" event on the mail item or even on the form region?

Thanks in advance
Ads
  #2  
Old March 15th 07, 07:06 AM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default forward an attachment with form region

The event you'd need to use would be MailItem.Forward. I don't see this as related to the form region.

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

"Nikolas" wrote in message ...
Hi,

Created an Outlook 2007 Addin using VSTO and form regions. When forwarding a
mail item that has been opened with one of our form region that has an
attachment we want to catch the forward even just before the new mail item
has been created. We basically want to alter the attachment when the user
presses the forward button on the ribbon and then forward the mail item.

Is there a "before forward" event on the mail item or even on the form region?

Thanks in advance

  #3  
Old March 15th 07, 10:46 AM posted to microsoft.public.outlook.program_forms
Nikolas
external usenet poster
 
Posts: 34
Default forward an attachment with form region

Thanks for your reply.

Unfortunately, the MailItem.Forward event is being raised after the new mail
item has already been created. Thats why I said a "BeforeForward" event would
be more appropriate for me since I want to alter the attachment BEFORE it is
attached to the new mail item. In the MailItem.Forward event I don't have
information on the mail item that the forward button was pressed.

"Sue Mosher [MVP-Outlook]" wrote:

The event you'd need to use would be MailItem.Forward. I don't see this as related to the form region.

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

"Nikolas" wrote in message ...
Hi,

Created an Outlook 2007 Addin using VSTO and form regions. When forwarding a
mail item that has been opened with one of our form region that has an
attachment we want to catch the forward even just before the new mail item
has been created. We basically want to alter the attachment when the user
presses the forward button on the ribbon and then forward the mail item.

Is there a "before forward" event on the mail item or even on the form region?

Thanks in advance


  #4  
Old March 15th 07, 02:20 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default forward an attachment with form region

You should have that information, from the MailItem object whose Forward event you're handling.

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

"Nikolas" wrote in message ...
Thanks for your reply.

Unfortunately, the MailItem.Forward event is being raised after the new mail
item has already been created. Thats why I said a "BeforeForward" event would
be more appropriate for me since I want to alter the attachment BEFORE it is
attached to the new mail item. In the MailItem.Forward event I don't have
information on the mail item that the forward button was pressed.

"Sue Mosher [MVP-Outlook]" wrote:

The event you'd need to use would be MailItem.Forward. I don't see this as related to the form region.

"Nikolas" wrote in message ...
Hi,

Created an Outlook 2007 Addin using VSTO and form regions. When forwarding a
mail item that has been opened with one of our form region that has an
attachment we want to catch the forward even just before the new mail item
has been created. We basically want to alter the attachment when the user
presses the forward button on the ribbon and then forward the mail item.

Is there a "before forward" event on the mail item or even on the form region?

Thanks in advance


  #5  
Old March 16th 07, 11:44 AM posted to microsoft.public.outlook.program_forms
Nikolas
external usenet poster
 
Posts: 34
Default forward an attachment with form region

Yes you are right, apologies for not noticing that.

Thanks

"Sue Mosher [MVP-Outlook]" wrote:

You should have that information, from the MailItem object whose Forward event you're handling.

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

"Nikolas" wrote in message ...
Thanks for your reply.

Unfortunately, the MailItem.Forward event is being raised after the new mail
item has already been created. Thats why I said a "BeforeForward" event would
be more appropriate for me since I want to alter the attachment BEFORE it is
attached to the new mail item. In the MailItem.Forward event I don't have
information on the mail item that the forward button was pressed.

"Sue Mosher [MVP-Outlook]" wrote:

The event you'd need to use would be MailItem.Forward. I don't see this as related to the form region.

"Nikolas" wrote in message ...
Hi,

Created an Outlook 2007 Addin using VSTO and form regions. When forwarding a
mail item that has been opened with one of our form region that has an
attachment we want to catch the forward even just before the new mail item
has been created. We basically want to alter the attachment when the user
presses the forward button on the ribbon and then forward the mail item.

Is there a "before forward" event on the mail item or even on the form region?

Thanks in advance


 




Thread Tools
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
Outlook 2003 Auto Forward Rules do not forward Attachment Correctly Tom Ewald Outlook - General Queries 0 March 8th 07 06:04 PM
forward as attachment forward as attachment Outlook Express 3 January 13th 07 09:44 PM
forward a mail item with form region Nikolas Outlook - Using Forms 7 December 1st 06 07:34 PM
only one instance of form region is displayed Nikolas Outlook - Using Forms 4 October 6th 06 04:37 PM
OL 2007 - Set custom form region as default Fidget Brain Outlook - Using Forms 8 July 6th 06 04:36 PM


All times are GMT +1. The time now is 02:44 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2008 Outlook Banter, part of the NewsgroupBanter project.
The comments are property of their posters.
Web Advertising - CreditCards - Classic Cars - Mortgages - Property in Spain