Monday, March 19, 2012

Drag'n'drop files problem on Visual Studio 2010

If you all of a sudden notice that you cannot drag&drop files inside your Visual Studio from outside on Windows 7, for example, from Windows Explorer, it might be the case that you are running VS under Admin user rights. In this case it won't allow you drag&drop-ing files inside it.

The solution is simple. 
  • Turn off User Account Control. Go to Control Panel -> User Accounts -> Change User account Control settings. Drag the slider all the way down and reboot.
The thing is that by design when you run VS under admin privileges it starts in different security context and thus disallows dragging files from Windows Explorer. Disabling UAC fixes that. Unfortunately doing that you will also no longer see warnings when you try to run unknown (possibly malicious) software. But that's the price to pay when you have to run VS as admin.

Hello there!

My first blog entry around. I'm starting this blog to post some technical tricks I find out on my digital endeavours. It's going to be mostly programming oriented, along with regular computer problems occasionally, a little bit of small things, perhaps some bigger things down the line as I get more experience. Some things posted here may not be the most innovative out there. The main intention is to gather my personal experiences of solving various problems together. Hopefully this helps anyone. Well, anyway, it's enough for the first entry. Let the journey begin... 

Oh, and sorry in advance for any english inconsistencies. It's my second language, and although I consider myself being rather good at it writing, when I write a lot I may run into strange constructions which are not clearly understandable nor grammatically correct to the native speaker, just like this sentence. Sorry for that! 

So.. Take two! Let the journey begin..