Re: Windows Vista and working with Com controls
You have two options - start regsvr32 in elevated mode (easiest
to do is if you start a command prompt in elevated mode and
invoke it from there), or modify your COM objects to register
in HKCU\Software\Classes instead of HKCR. This way you are
only registering for the current user as opposed to all users on
the machine, but you don't need admin credentials. Oh, and type
libs will give you headaches - better if you don't need your type
libs registered... A third option is using registrationless side-by-side
COM, but that won't work with ActiveX Controls in the browser.
--
=====================================
Alexander Nickolov
Microsoft MVP [VC], MCSD
email: agnickolov@mvps.org
MVP VC FAQ: http://vcfaq.mvps.org
=====================================
"BartMan" <MaskProg@community.nospam> wrote in message
news:0DF078C3-762E-4B3E-B716-D436829410A8@microsoft.com...
Greetings,
I was doing some testing with our software with Windows Vista, and I am
having issues even getting our ActiveX or ATL com based items to register
on
the system.
I tried turning off the security warnings, but it does not seem to allow
me
to register my ActiveX controls using Regsvr32.exe to register the
controls.
I have tried creating a admin based user, with adminstrative rights, and
that did not seem to work either.
Can anyone suggest a way to get activex or atl controls to work on vista?
I can't imagine that microsoft would totally lock out this technology, so
I
am assuming that it is some sort of security setting.
Thanks in advance for any suggestions!