Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Feature Requests
 Elevated VS disables drag'n'drop from Explorer
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

znakeeye
Tomato Guru

379 Posts

Posted - Aug 11 2010 :  09:20:01 AM  Show Profile  Reply with Quote
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);

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Aug 13 2010 :  11:27:37 AM  Show Profile  Reply with Quote
A very interesting idea, hopefully it really is this easy. I have put in a feature request for this:

case=48656

zen is the art of being at one with the two'ness
Go to Top of Page

znakeeye
Tomato Guru

379 Posts

Posted - Jul 12 2012 :  09:46:09 AM  Show Profile  Reply with Quote
No news regarding this? :(
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Jul 12 2012 :  4:44:10 PM  Show Profile  Reply with Quote
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.

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000