Click to See Complete Forum and Search --> : Accessing Registry through The Activex Control


anand_m
January 11th, 2000, 10:33 PM
Hi

I have an ActiveX control in VB. There is a Databroker on the Server which is again a DLL written in VB/C++. The Activex Control calls a function in the DLL which reads information from the Registry on the Server.
But RegOpenKeyEx method fails and I get a message which says that "The Security options does not allow this operation"

Kindly let me know how I accomplish this task of reading registry
Thanks
Anand

rhermans
January 16th, 2000, 06:06 AM
you are using some part of DCOM , now there is are also security setting possible for com comp. And this includes if they can access the registry on te server.
Look for a tool that is located on the server named dcomcnfg.exe. This thing will allow you to specifie reg access for clients.

See You