Link to home
Create AccountLog in
Avatar of bcabot202
bcabot202

asked on

Dragging & dropping files on to Outlook 2007 tasks

I can drag files onto my email, Outlook 2007, and it will show up as an attachment.  I used to be able to do this with tasks.  Now, when I drag a file to the outlook task bar, it saves it as shortcut.  Then, when I open up the task again, it gives me the error:  "Outlook blocked access to the following potentially unsafe attachments...."

I am looking for 1 of 2 solutions:
1) How can I change outlook so I can drag files to the task bar instead of shortcuts?

Or

2) How can I get rid of the above error for shortcuts?

Thanks in advance,
Blake Cabot
Avatar of David Lee
David Lee
Flag of United States of America image

Hi, Blake.

What do you mean by "outlook task bar"?  Are you referring to the To-Do Bar?  
Avatar of bcabot202
bcabot202

ASKER

yes that's correct. this is the bar below mail
11-9-2010-8-47-14-AM.png
That's not the To-Do Bar, but I understand.  I just tested on my Outlook 2007 and it works fine.  What sort of file is it that you're dropping on the shortcut?
anything, a pdf, excel, etc.
Do you get the same behavior if you create a task item then drag-n-drop a file into it?
nope, it works fine then.
How about if you drag and drop to the Tasks folder?
then it copies in as a shortcut and does all the bad things described above.
You said it did that for the task shortcut at the bottom of the left-hand window.  The shortcut isn't the folder.  Are you saying that it exhibits the same behavior for the Task folder which is up under your mailbox?
I am not explaining this well.

So if I open a task in Outlook, Cntl - Shift - k..... and drag a file from explorer it works.

If I drag a file to where it says "Tasks" below "Contacts", it copies in a shortcut.

Does this make sense to you?
I understand.  The bars at the bottom of your screen shot are links.  They are not folders.  What I'm asking is what happens if you drop a file on the actual Tasks which is up in the white area of that screen shot where all the other folders are.
I see what you are talking about.  The white part only shows Mail Items, but if I copy to a folder there (ex. XML Docs) then it copies the file but not the shortcuts.
Click the little folder icon in the lower right-hand corner of that pane and it will show the other folder types (i.e. not just mail folders).
Thanks, but then it copies in as a shortcut
I've not seen this behavior before and don't have any suggestions for how to fix it.  What I can offer is a workaround using a simple bit of scripting to add a new selection to Windows' "Send To" menu.  If you're interested, then I can post the code and instructions.
ok pls post
Ok, here it is.  Follow these instructions to use it.

1.  Open Notepad.
2.  Copy the code and paste it into Notepad.
3.  Save the file in the "Send To" folder.  You can name the file whatever you want so long as the file name must end with .vbs.  I recommend something like "Outlook Task.vbs".

To use this

1.  Select one or more files
2.  Right-click, select Send To, select this script

An Outlook task should appear on screen with the files attached.
Dim objFSO, varArg, varPath, olkApp, olkSes, olkTsk
On Error Resume Next
If WScript.Arguments.Count > 0 Then
	Set objFSO = CreateObject("Scripting.FileSystemObject")
	Set olkApp = GetObject(,"Outlook.Application")
	If TypeName(olkApp) = "Nothing" Then
		Set olkApp = CreateObject("Outlook.Application")
		Set olkSes = olkApp.GetNamespace("MAPI")
		olkSes.Logon olkApp.DefaultProfileName
	End If
	Set olkTsk = olkApp.CreateItem(3)
	With olkTsk
		For Each varArg In WScript.Arguments
			varPath = objFSO.GetAbsolutePathName(varArg)
			olkTsk.Attachments.Add varPath
		Next
		.Display
	End With
End If
On Error Goto 0
Set objFSO = Nothing
Set olkApp = Nothing
Set olkSes = Nothing
Set olkMsg = Nothing

Open in new window

where is the send to folder?
What version of Windows are you using?
vista...
ASKER CERTIFIED SOLUTION
Avatar of David Lee
David Lee
Flag of United States of America image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account