Since you can't do what you're trying to do, you would have to either export
out the RGS from the OCX or manually capture it and then replicate in a
registry patch that you would need to deploy or the end users to run. At
that point you might even have to write a throw-away non-elevated
application to write the HCKU entries you're trying to write. Assuming that
you're trying to write HKCU data. If you're trying to write HKLM data, you
will likely not be able to solve this problem since that crosses over into a
task that would actually need administrative privileges.
--
Speaking for myself only.
See
http://zachd.com/pss/pss.html for some helpful WMP info.
This posting is provided "AS IS" with no warranties, and confers no rights.
--
<> wrote in message
news:54d6e273-3b32-4ad9-8fbd-...
> I'm having a problem where our end users (who are not local
> administrators) need to register an .ocx file for one of our
> applications. We keep on getting the following error:
>
> The module <filename.ocx> was loaded but the call to DLLRegisterserver
> failed with error code 0x80040200.
>
> I've been working with the vendor and they are reluctant to give us
> any support. They said that we should register this ocx file using an
> elevated command prompt. This would require us to either visit each
> workstation and/or give the user the administrator password (which we
> won't do).
>
> We are running Windows Vista Business.
>
> Does anyone have any suggestions as to how we can get this file
> registered?
>
> Thanks for your help.
>
> Jason
>