Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Elevated VS disables drag'n'drop from Explorer

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
znakeeye Posted - Aug 11 2010 : 09:20:01 AM
Running VS 2008 SP1 under Windows 7. Sometimes (especially when working with COM), it is necessary to run VS as administrator.

Running an application elevated does however have nasty side effects. For instance, you cannot drag and drop items from unelevated processes. This is always true for Explorer.exe since it cannot (and should not) be run elevated.

Hence, dragging files from Explorer to VS is impossible. This is a disaster!

I'm wondering if VAX might be able to provide a hack for this. Please see this thread:
http://social.msdn.microsoft.com/Forums/en-US/windowsuidevelopment/thread/2fa935cf-be57-4bcc-9b96-7ee5a6b2b7a5/

A VAX hack possible?
Basically, to allow drag'n'drop from all processes, all you need to do is this (inside VS of course):
ChangeWindowMessageFilter(WM_DROPFILES, MSGFLT_ADD);
ChangeWindowMessageFilter(WM_COPYDATA, MSGFLT_ADD);
ChangeWindowMessageFilter(0x0049, MSGFLT_ADD);
3   L A T E S T    R E P L I E S    (Newest First)
feline Posted - Jul 12 2012 : 4:44:10 PM
Unfortunately no progress yet, this is still in our list of things to consider.

Have you tried running an elevated file manager? Personally I use this file manager, instead of Windows Explorer:

http://zabkat.com/index.htm

and they do a free version. There are several very good replacement file manager programs out there that might help here.
znakeeye Posted - Jul 12 2012 : 09:46:09 AM
No news regarding this? :(
feline Posted - Aug 13 2010 : 11:27:37 AM
A very interesting idea, hopefully it really is this easy. I have put in a feature request for this:

case=48656

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000