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

Drag on Drop from email message to custom form - no attachment



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old March 17th 08, 04:37 PM posted to microsoft.public.outlook.program_forms
Matt
external usenet poster
 
Posts: 119
Default Drag on Drop from email message to custom form - no attachment

Hi

I have created a custom form which is saved in my "Organizational Forms"
library in Exchange. I would like to be able to drag an email message with an
attachment into the folder (the public folder has the custom form setup as
the default when posting) . When the email is dragged into the folder the
custom form is created and all of the message body is copied over, this works
OK. But I need emails with attachments, for the attachment to be copied into
the custom form also.

I think this is one for Sue Mosher, I looked at the code example in your
book to copy attachments but I cannot get this to work..

I have added the two sub routines CopyAttachmentsDemo() & Sub
CopyAttachments(objSourceItem As Object, objTargetItem As Object) to the
script editor, is this correct?

I have added the code to the custom form, is this correct? Does it need to
be in the source item or the destination item..?

When I drag and drop the email into the folder I get a script error
"Expected End of Statement Line No: 2 (line 2 in the script is Dim objApp As
Outlook.Application in the CopyAttachmentsDemo() sub..?

Could you advise what I am doing wrong, the code was copied from the example
in the book..

Regards

Matt



  #2  
Old March 18th 08, 04:39 PM posted to microsoft.public.outlook.program_forms
Matt
external usenet poster
 
Posts: 119
Default Drag on Drop from email message to custom form - no attachment

Just wondering if anyone has had a chance to look into this...it's really got
me baffled..!

Any help would be much appreciated

Regards

Matt

"Matt" wrote:

Hi

I have created a custom form which is saved in my "Organizational Forms"
library in Exchange. I would like to be able to drag an email message with an
attachment into the folder (the public folder has the custom form setup as
the default when posting) . When the email is dragged into the folder the
custom form is created and all of the message body is copied over, this works
OK. But I need emails with attachments, for the attachment to be copied into
the custom form also.

I think this is one for Sue Mosher, I looked at the code example in your
book to copy attachments but I cannot get this to work..

I have added the two sub routines CopyAttachmentsDemo() & Sub
CopyAttachments(objSourceItem As Object, objTargetItem As Object) to the
script editor, is this correct?

I have added the code to the custom form, is this correct? Does it need to
be in the source item or the destination item..?

When I drag and drop the email into the folder I get a script error
"Expected End of Statement Line No: 2 (line 2 in the script is Dim objApp As
Outlook.Application in the CopyAttachmentsDemo() sub..?

Could you advise what I am doing wrong, the code was copied from the example
in the book..

Regards

Matt



 




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
Problem with custom form after drag and drop (security related?) AlanGlover Outlook - Using Forms 3 November 15th 07 05:41 PM
Can't drag and drop an Excel file from Windows Explorer to new mail message Nigel Freeney[_2_] Outlook - General Queries 4 July 24th 07 11:58 PM
Can't drag and drop message to Calendar in Outlook 2007 Larry-K Outlook - Calandaring 1 April 4th 07 10:30 PM
I cant drag and drop a message into calender MWGP Outlook - Calandaring 4 March 28th 07 05:59 PM
can't Drag and drop an email message from an Outlook Folder into a new message [email protected] Outlook - General Queries 1 December 14th 06 11:56 PM


All times are GMT +1. The time now is 07:57 PM.


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.