Hi Trent
Thanks for your answer, please apologize me for put this comment here in DDT, if you can change it to the correct forum or delete this. I can create a new one in the correct section.
I believe I found the problem. After a little digging , I noticed that you put in the Registry values to:
HKEY_LOCAL_MACHINE\Software\MicroFour\StrataFrame\Security\LoginForm
I open the source of the security project and found this values for registry too.
For Vista Microsoft not allows that an application creates values to HKEY_LOCAL_MACHINE if not running as administrator, I get the "Windows Vista Application Development Requirements for User Account Control Compatibility" and found this:
· Virtualize (HKEY_LOCAL_MACHINE\SOFTWARE)
· Redirect to: HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\<Application Registry Keys>
· Keys excluded from virtualization
· HKEY_LOCAL_MACHINE\Software\Classes
· HKEY_LOCAL_MACHINE \Software\Microsoft\Windows
· HKEY_LOCAL_MACHINE \Software\Microsoft\Windows NT
In my application I change the Registry entry for the login form to this:
HKEY_CURRENT_USER\Software\Classes\VirtualStore\MACHINE\SOFTWARE\Datafox\Operaciones\Security\LoginForm
and running the application without problems. But if I launch the security the again teh registry problem apper.
As I noticed if I recreate the security DLL, using HKEY_CURRENT_USER and not HKEY_LOCAL_MACHINE the application will run without administrator permission.
Waiting for your comments.
Regards
Everything is possible, just keep trying...