1

In this project, I :

  • use WinForm C#
  • enabled AllowDrop = true
  • disable UAC Control
  • turn off Windows Firewall, Windows Defender

But I can't drag file in Windows 8 so I can drag in Windows 7, Vista and XP normally.

How do I enable drag and drop file in Windows 8 ?

Or

How do I change my code to drag and drop file in Windows 8?

j0k
  • 22,600
  • 28
  • 79
  • 90
Tang Thanh Tam
  • 431
  • 3
  • 12
  • If you run the program as Administrator does that make any difference? Could be similar cause to [this question](http://stackoverflow.com/questions/2833709/c-sharp-drag-drop-does-not-work-on-windows-7) – Amicable Jan 25 '13 at 13:16
  • Okay - I got it to work on my computer. I'm just not sure how! The first time I ran it as Administrator drag drop still didn't work for me... but now it just works without elevating any permissions. The only other thing I did was change the permissions to a Program Data folder to prevent an exception. Strange. – Amicable Jan 25 '13 at 13:49

1 Answers1

0

"How to fully disable UAC on Windows 8

HKEY_LOCAL_MACHINE > SOFTWARE > Microsoft > Windows > CurrentVersion > Policies > System

Then Find this Key EnableLUA, Double Click on it and change the Value data from 1 to 0."

kleopatra
  • 51,061
  • 28
  • 99
  • 211
FALSE-X
  • 23
  • 2