473,326 Members | 2,255 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,326 software developers and data experts.

File drag and drop with Windows Vista

How can I drag and drop files from Explorer to my .NET application in
Vista?
It looks like the DataFormats.FileDrop doesn't work anymore in Vista.
An example would be greatly appreciated.
Thanks.
Andrea
Nov 23 '06 #1
5 4706
The only thing I can say is, have you tried SP1 beta for VS 2005? I do
believe some code does not really supported in Vista so we need to find the
workaround.

chanmm

"Andrea" <ku*******@yahoo.itwrote in message
news:mg********************************@4ax.com...
How can I drag and drop files from Explorer to my .NET application in
Vista?
It looks like the DataFormats.FileDrop doesn't work anymore in Vista.
An example would be greatly appreciated.
Thanks.
Andrea
Nov 27 '06 #2
"Andrea" <ku*******@yahoo.itwrote in message
news:mg********************************@4ax.com...
How can I drag and drop files from Explorer to my .NET application in
Vista?
It looks like the DataFormats.FileDrop doesn't work anymore in Vista.
An example would be greatly appreciated.
Thanks.
Andrea

This should work as it did on XP, at least it works for me, running Vista RTM.

Willy.

Nov 27 '06 #3
On Mon, 27 Nov 2006 13:14:54 +0100, "Willy Denoyette [MVP]"
<wi*************@telenet.bewrote:
>"Andrea" <ku*******@yahoo.itwrote in message
news:mg********************************@4ax.com.. .
>How can I drag and drop files from Explorer to my .NET application in
Vista?
It looks like the DataFormats.FileDrop doesn't work anymore in Vista.
An example would be greatly appreciated.
Thanks.
Andrea


This should work as it did on XP, at least it works for me, running Vista RTM.

Willy.
I've tried also with Vista RTM and it doesn't work. Probably it's a
security problem. Any suggestions?
Thanks.
Nov 27 '06 #4
Have you tried to run your application as administrator, right click your
application and choose Run as administrator?

chanmm

"Andrea" <ku*******@yahoo.itwrote in message
news:hj********************************@4ax.com...
On Mon, 27 Nov 2006 13:14:54 +0100, "Willy Denoyette [MVP]"
<wi*************@telenet.bewrote:
>>"Andrea" <ku*******@yahoo.itwrote in message
news:mg********************************@4ax.com. ..
>>How can I drag and drop files from Explorer to my .NET application in
Vista?
It looks like the DataFormats.FileDrop doesn't work anymore in Vista.
An example would be greatly appreciated.
Thanks.
Andrea


This should work as it did on XP, at least it works for me, running Vista
RTM.

Willy.

I've tried also with Vista RTM and it doesn't work. Probably it's a
security problem. Any suggestions?
Thanks.
Nov 28 '06 #5
"Andrea" <ku*******@yahoo.itwrote in message
news:hj********************************@4ax.com...
On Mon, 27 Nov 2006 13:14:54 +0100, "Willy Denoyette [MVP]"
<wi*************@telenet.bewrote:
>>"Andrea" <ku*******@yahoo.itwrote in message
news:mg********************************@4ax.com. ..
>>How can I drag and drop files from Explorer to my .NET application in
Vista?
It looks like the DataFormats.FileDrop doesn't work anymore in Vista.
An example would be greatly appreciated.
Thanks.
Andrea


This should work as it did on XP, at least it works for me, running Vista RTM.

Willy.

I've tried also with Vista RTM and it doesn't work. Probably it's a
security problem. Any suggestions?
Thanks.

Only thing I can suggest is to post to one of the Vista forums (forums.msdn.microsoft.com).
That said, I don't believe it's a security problem, unless the drop target runs at "low"
integrity level.

Willy.

Nov 28 '06 #6

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

Similar topics

2
by: SamSpade | last post by:
There seems to be two ways to put things on the clipboard ( I don't mean different formats): SetClipboardData and OleSetClipboard If I want to get data off the clipboard do I care how it was put...
3
by: Ajay Krishnan Thampi | last post by:
I have a slight problem implementing 'drag and drop' from a datagrid to a tree-view. I have pasted my code below. Someone please advice me on what to do...pretty blur right now. ==code== ...
0
by: Norbert Heidbüchel | last post by:
Hi all, I have read a lot of postings and web pages about drag and drop and treeviews, but could not find an answer to my problem. Sorry, if I missed something. I am trying to drag and drop...
8
by: Paul | last post by:
I have looked and looked for this info. All the I/O examples I've found either explicity use a file name or use the OpenFileDialog. When you drag a MS Word document over MS Word, it launches and...
1
by: Manuel Canas | last post by:
Hi there, This is the code that I am using to drag items from a list box and drop them into a text box. I'm not sure, but from what I know, each item on a list box is an object. Let say I get a...
5
by: Brian Henry | last post by:
I haven't worked much with drag/drop but I am trying to make a form that accepts files to drug onto it from explorer and droped and have the form know the full path and file name of the files...
3
by: VB Programmer | last post by:
In VB.NET 2005 (winform) any sample code to drag & drop items between 2 listboxes? Thanks!
2
by: ViRi | last post by:
I am wringing a small and lite Media Player to fit my custom needs for usage while programming. I had written some drag and drop functionality like i do with other programs, but hey, the ActiveX...
16
by: John | last post by:
I am looking for VBA code that will work with Access 2003 to enable dragging and dropping a file/folder name from Windows XP Explorer into an Access form's text box. This is a common functionality...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.