473,407 Members | 2,598 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

Know IDataObject's target

Hi all!
I have an IDataObject which deals with retrieving files from another machine
and then moving them to the target specified by Explorer. I specify only
CF_HDROP as supported clipboard format. I copy the files to the temporary
directory and then let Explorer move them by specifying the target directory
- i.e. an Explorer window!
Is there a way to know what is the target folder, i.e. the one receiving the
'drop' or 'paste' event? In this way, I could move the files to a temporary
folder but on the actual target drive, thus saving some time when Explorer
moves the files to the target folder!
Thank you for your help!
Mar 12 '07 #1
2 968
Please... isn't there anyone who knows at least WHETHER it's possible or not?
:(
Mar 14 '07 #2

"tilluf" <ti****@discussions.microsoft.comwrote in message
news:46**********************************@microsof t.com...
Please... isn't there anyone who knows at least WHETHER it's possible or
not?
:(
Since the drop target may not correspond to a local directory, it's unlikely
that any standardized method exists for getting the drop directory.
Remember you have to deal with Web Folders, CD writing, network shares,
compressed archives, third-party namespace extensions such as backup
programs, etc. And that's all assuming that the user dropped the file on
explorer and there even is a PIDL for the target. But other applications
can accept shell drag&drop as well.
Mar 14 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: EHuq | last post by:
Hi there I am facing a problem. When I include my unmanaged header file in my form1.h file, I am facing the compile error with the following messag C:\Program Files\Microsoft Visual Studio .NET...
0
by: Krunoslav Ostrouska | last post by:
ArrayList included in object is not saved at clippboard copy in Win98 (Clipboard.SetDataObject() and IDataObject.GetData()) ! In WinXP, framework calls GetObjectData() and...
0
by: Robin Tucker | last post by:
I've implemented an IDataObject interface around one of my classes in order to facilitate drag/drop from my application into explorer. What I want to do is allow the user to select a series of...
0
by: pmclinn | last post by:
I have a file that is saved to the clipboard as an HTML file. The file renders as an image though. Is there anyway to convert this to a bmp? Dim d As IDataObject = Clipboard.GetDataObject()...
7
by: **Developer** | last post by:
Although the code is VB I believe the question is OOP I tried the VB NG but no answer. I suspect the c# programmer is more apt to be aware of these kinds of subtleties so I', trying here. I do...
4
by: Bob Staheli | last post by:
The .Net DataObject class implements the COM/OLE IDataObject interface , so how do I get it. I have tried this, but it does not work : // Declare the COM/OLE IDataObject interface public...
3
by: nicolas.hilaire | last post by:
Hi group, when using unmanaged class with my managed app, I've seen errors when including (for example) <windows.h>. One of theses erros is : IDataObject : ambiguous symbol error I've seen...
1
by: Rick | last post by:
Error 2 error C2872: 'IDataObject' : ambiguous symbol C:\Archivos de programa\Microsoft Visual Studio 8\VC\PlatformSDK\include\objidl.h 7408 this is the error i got by mix managed and unmanaged...
0
by: =?ISO-8859-1?Q?=22Ro=DFert_G=2E_Schaffrath=22?= | last post by:
Sorry for the cross-posting. I am having a hard time trying to classify exactly what group this question would apply to. I had posted an earlier message to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.