Dear all,
I find a very strange issue in Vista RC1.
If we wanna add "requireAdministrator" in the program,
(Ref http://msdn.microsoft.com/library/default.asp url=/library/en-us/dnlong/html/AccProtVista.asp)
The program will still fail to get the "WM_DROPFILES" message from Vista.
Does anyone have the same problem ...Orz
Best Regards,
Shuyang
p.s. The following is my manifest
< xml version="1.0" encoding="UTF-8" standalone="yes" >
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<assemblyIdentity
version="1.0.0.0"
processorArchitecture="X86"
name="Microsoft.Windows.XPStyle"
type="win32"
/>
<description>Your app description here</description>
<dependency>
<dependentAssembly>
<assemblyIdentity
type="win32"
name="Microsoft.Windows.Common-Controls"
version="6.0.0.0"
processorArchitecture="X86"
publicKeyToken="6595b64144ccf1df"
language="*"
/>
</dependentAssembly>
</dependency>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel
level="requireAdministrator"
uiAccess="false"/>
</requestedPrivileges>
</security>
</trustInfo>
</assembly>

Drag n' Drop files in Vista RC1?
COHNV
I'm working around the issue by creating a desktop shortcut to "explorer.exe" and setting "Run as administrator" under "Advanced Properties" and adding a shortcut key to make it easier to bring up. Still have that annoying "User Account Control" dialog though...
pure159112
Lots of other people have written ACL-management code. Here are some (I do not vouch for their accuracy; these are just the first few that came up in a web search)
http://www.codeproject.com/win32/accesscontrollists.asp
http://www.codeproject.com/system/secntobj.asp
Samuel Nakano
search and deploy
Hi,
I am having the same issue. How do you custom set the security of the event
Thanks
goh6613
Can I disable this "feature" (I can't drag files from explorer to Visual Studio 2005): this single fault alone is seriously making me consider ditching Vista and switching back to XP on my software development machine.
Michael A Thomas
Dear Raymond,
It seems that WM_COPYDATDA does not work on the "requireAdministrator" program.
(Please ref to the topic WM_COPYDATA and manifest.xml)
I try to use "Event" to let two programs communicate each other.
The Event is created in the "requireAdministrator" program and the other program without "requireAdministrator" would signal it.
However, I find out that the program without "requireAdministrator" can not signal the event which is created by the "requireAdministrator" program.
This design only works when the event is created in the program without "requireAdministrator".
Does it the right behavior or it will be fixed in the future version of Vista
Best regards,
Shuyang
ntsoo
I'm with you on that.
DotNet_Student
James2007
Can-Ann
Dear Raymond,
My application needs "Drag n' Drop" and "Write registry key into HKEY_CLASSES_ROOT"
I've tried "requireAdministrator" and "highestAvailable" in the manifest.xml for registry key writing
But they would both disallow the "Drag n' Drop" function.
Is there a way to allow "Drag n' Drop" and "Write registry key into HKEY_CLASSES_ROOT" in the application
Best regards,
Shuyang
RajeshPKumar
AlexBB