Page 1 of 1

Registering ActiveX control under a standard user account!

Posted: Thu Apr 23, 2009 10:47 am
by srod
Hi,

trying to run a program which registers a simple ActiveX control under a standard Vista user account and it of course fails. (All runs fine if I log on as an administrator!)

However, if I try to run the same program (under my standard user account) but select 'Run as Administrator...' it still fails! If I check the PB IDE compiler options 'Request administrator mode...' it fails! If I run a command prompt as administrator and manually call regsvr32... it fails! The error code is always #E_FAIL.

Am I missing something - apart from a brain of course! :)

Posted: Thu Apr 23, 2009 10:55 am
by srod
Okay, solved!!!

Had to turn the cursed UAC back on before I could run a program in an elevated mode for some reason! Only then would I be prompted for an admin password etc.

Posted: Thu Apr 23, 2009 1:12 pm
by idle
the good old, user annoyance control eh! :lol:

Posted: Thu Apr 23, 2009 1:14 pm
by srod
idle wrote:the good old, user annoyance control eh! :lol:
Indeed! :)