Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DragDrop.DoDragDrop not working in wpf , when drag to windows explorer in windows10 #2007

Closed
vsfeedback opened this issue Oct 7, 2019 · 7 comments

Comments

@vsfeedback
Copy link

This issue has been moved from a ticket on Developer Community.


i am using below code to drag and drop the file or folder to windows explorer, it works perfectly for winforms but fails for wpf.

In WPF the code not work in windows 10

string path = @"C:\Rajesh\documents\bug\5.07 testing folder drag"; StringCollection collection = new StringCollection() { path }; string[] files = { path }; var data = new DataObject(DataFormats.FileDrop, files); data. SetData(DataFormats.Text, files[0]); // Clipboard.SetData(DataFormats.FileDrop, files); // Perform dragdrop DragDrop.DoDragDrop(this, data, DragDropEffects.Copy);


Original Comments

(no comments)


Original Solutions

(no solutions)

@miloush
Copy link
Contributor

miloush commented Oct 7, 2019

Works for me.

@rladuca
Copy link
Member

rladuca commented Oct 7, 2019

Can you confirm this is not a symptom of this problem? #1323

@miloush
Copy link
Contributor

miloush commented Oct 7, 2019

Does the ticket have an associated windows build number? I am on 18995.1.amd64fre.vb_release.190927-1420.

@grubioe grubioe added the 📭 waiting-author-feedback To request more information from author. label Oct 8, 2019
@ghost ghost added the no-recent-activity label Oct 12, 2019
@ghost
Copy link

ghost commented Oct 12, 2019

This issue has been automatically marked as stale because it has marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. Thank you for your contributions!

@ghost ghost closed this as completed Oct 15, 2019
@madhankumar-g
Copy link

madhankumar-g commented Nov 4, 2019

I am able to drag and drop to desktop, but drag and drop to outlook is not working from WPF application.
My Outlook version: Version 1910(Build 12130.20272)
Works for a user with version : 1910(Build 12130.20112)

@grubioe @rajeshg

@ghost ghost removed the no-recent-activity label Nov 4, 2019
@rladuca
Copy link
Member

rladuca commented Nov 4, 2019

Sorry, the bot is strangely closing issues incorrectly in some cases.

This went out in September/October. If you're up to date with this KB then you should be good (assuming this is the same issue). Can you ensure that the different users don't also have difference OS versions?

@rladuca rladuca reopened this Nov 4, 2019
@ghost ghost added the no-recent-activity label Nov 8, 2019
@ghost
Copy link

ghost commented Nov 8, 2019

This issue has been automatically marked as stale because it has marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment. Thank you for your contributions!

@ghost ghost closed this as completed Nov 11, 2019
@ghost ghost locked as resolved and limited conversation to collaborators Apr 14, 2022
@dipeshmsft dipeshmsft removed the 📭 waiting-author-feedback To request more information from author. label Aug 24, 2022
@ghost ghost removed the no-recent-activity label Aug 24, 2022
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants