writing to registyr with active x dll using getsetting and saveset

R

Roundy

We have an application that communicates with a PLC in the field. All of the
values from the PLC are written to registry keys under
hkey_current_user\software\vb and vba programming\application
name\subkey\value.

We were trying to access the registry key directly using asp. I found a
tool to access registry, but for some reason it can't read or write values to
hkey_current_user. So, we wrote and active x dll that using gettsetting and
savesetting to read and write to the registry, and we just use the object in
ASP. Unfortunately, it writes to HKEY_USERS\.DEFAULT\Software\ and then
creates the vb and vba programming\application name\subkey\key. It reads and
writes to this area just fine, but well that is not where we want to read and
write to. We rewrote the dll to specify the HKEY_Current_User area, but it
still behaves the same way. Any help or direction on this would be
appreciated. Thanks in advance for the help.
 
M

Mark Schupp

If the site is using anonymous access then the "current user" is the
"default" user. If you need to write to a specific user's profile you will
probably have to disable anonymous access and have that user log on when
they hit the web site. Or you will have to find the user you want to modify
under HKEY_USERS and modify their data directly (will need to make sure the
anonymous account has write access to the other users' data in the
registry).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top