简体   繁体   中英

Dragging Virtual Files Into Microsoft Office Communicator 2007

I've been trying to make an application that will allow me to drag files into an IM conversation window in Microsoft Office Communicator with no luck. I implemented / tried these two articles on creating virtual files for dragging:

  1. Transferring Virtual Files to Windows Explorer
  2. Developer-Friendly Virtual File Implementation for .NET Improved!

Both of these work great when I drag into Windows Explorer, but if I drag into an IM window it looks like it's going to work, ie it shows the file to transfer and the size etc... but when a person accepts it, it just hangs there until it fails with a message similar to this:

Cannot send "Alphabet.txt" to LastName, FirstName. This may be due to firewall restrictions or network problems. Please try again. If you need further assistance, contact your system administrator.

在此处输入图片说明

If I first drag the file into Windows Explorer and then from Explorer into the IM window it works fine. Anyone have any ideas of what could be happening here?

Turns out, Microsoft Communicator expects the FileName & FileDrop data formats. If you supply those then it will work.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM