-
Dec 7th, 2015, 07:58 PM
#1
Thread Starter
Frenzied Member
[RESOLVED] Question about drag in Windows 8
I realize that in Windows 8 when I use admin rights in my aplication I can't drag from wordpad to my usercontrol, but I can drag text from a form in my application to another form. When I use no admin rights then all works fine.
I can drag text from my application to wordpad in either rights (admon or not).
In windows 7 I have no problem.
-
Dec 7th, 2015, 08:37 PM
#2
Re: Question about drag in Windows 8
Depends on user rights of the applications. On Vista for example, I cannot drag any files from Explorer to my VB app if I run VB with elevated privileges. Generally speaking, you can't drag from a lower privilege to a higher privilege.
Sounds like this is what you are experiencing. If you were to run VB at normal user-rights (not admin, not elevated) then ran WordPad 'as administrator', you wouldn't be able to drag from your VB app to WordPad.
-
Dec 7th, 2015, 09:11 PM
#3
Thread Starter
Frenzied Member
Re: Question about drag in Windows 8
Thank You LaVolpe I understand now, we have to use a drag operation is same level application
-
Dec 7th, 2015, 09:11 PM
#4
Re: Question about drag in Windows 8
Not completely. Either same or from higher to lower, not lower to higher.
Oh, and a crappy workaround for my Explorer to VB with elevated privileges? I open WordPad with elevated privileges, choose File|Open menu, then drag from that to my VB app.
-
Dec 7th, 2015, 09:32 PM
#5
Re: Question about drag in Windows 8
It's not limited to VB either; this behavior applies to any drag and drop like that on Windows 8 (and apparently, Vista). But not on 7. Long live 7! Only good Windows since XP.
And unfortunately even the advanced API drag/drop can't get around it.
-
Dec 7th, 2015, 09:40 PM
#6
Re: Question about drag in Windows 8
It's not limited to VB either
Yep, didn't mean to imply VB-only issue. With WordPad, one opened normally and another 'as administrator', dragging text from low to high is prevented.
-
Dec 8th, 2015, 12:10 AM
#7
Re: Question about drag in Windows 8
Yeah I just wanted to make a note of it anyway, since so many drag and drop limitations are VB-only and can be worked around via API/COM.
-
Dec 8th, 2015, 02:06 AM
#8
Re: Question about drag in Windows 8
We ran round and round this mulberry bush a while back:
http://www.vbforums.com/showthread.p...-administrator
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|