views:

373

answers:

1

I have an add-in I'm working on in Outlook that relies on drag-and-drop to save an Outlook file to a file automagically. The problem is that the default behaviour is to use the email's subject line as the filename, and emails with extremely long subject lines send an error as there's not enough space in 250 characters to store all of it plus the rest of the path.

I'd like to change Outlook's drag and drop to Explorer so that the default filename is kept to the subject line cut to say 100 characters. Any pointers on where I'd go about doing this?

A: 

Ok I think you have a couple of ways to do this.

  1. run you own pane in outlook and on the drop and look at the selection and do a saveAs on each item.

  2. use some winapi to intercept the save ans change the name(i am not sure if this is possible)

76mel