Registering ActiveX control under a standard user account!

Everything else that doesn't fall into one of the other PB categories.
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Registering ActiveX control under a standard user account!

Post 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! :)
I may look like a mule, but I'm not a complete ass.
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post 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.
I may look like a mule, but I'm not a complete ass.
User avatar
idle
Always Here
Always Here
Posts: 6239
Joined: Fri Sep 21, 2007 5:52 am
Location: New Zealand

Post by idle »

the good old, user annoyance control eh! :lol:
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Post by srod »

idle wrote:the good old, user annoyance control eh! :lol:
Indeed! :)
I may look like a mule, but I'm not a complete ass.
Post Reply