You were right i moved the registry settings to HKEY_LOCAL_MACHINE and set
its permissions and it worked !
Thanks
Quote:
> What registry keys are you trying to read, in particular from what hive
and under what account?
Quote:
> --
> Michael Harris
> Microsoft.MVP.Scripting
> --
Quote:
> > I am using the registry API's now and still get the same result !
> > Any Ideas ?
> > > It's more than likely the fact that VB's GetSettings function looks
under
> > the
> > > HKEY_CURRENT_USER\Software\VB and VBA Program Settings
> > > key, which is generally meaningful only for an actual interactive
logged
> > on user, not the
> > > IUSR_machinename account...
> > > --
> > > Michael Harris
> > > Microsoft.MVP.Scripting
> > > --
> > > > How do i change the security for the dll to access the registry?
> > > > > Yes. Windows NT Registry has security access control as
folders/files
> > do.
> > > > > > I have a dll which accesses the registry for information. When i
> > access
> > > > > thru
> > > > > > the ASP the values are not returned...
> > > > > > The DLL is getting all the right info and works, but using
> > GetSetting
> > > > > > returns only default values not the actual registry value ?
> > > > > > Is there a security problem ????