473,405 Members | 2,445 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

writing to registyr with active x dll using getsetting and saveset

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.
Jul 22 '05 #1
1 1406
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).

--
Mark Schupp
Head of Development
Integrity eLearning
www.ielearning.com
"Roundy" <Ro****@discussions.microsoft.com> wrote in message
news:2F**********************************@microsof t.com...
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.

Jul 22 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: RWC | last post by:
Hi! I'm having a problem in A2K2. This should be simple, but I can't really figure it out. First problem, I'm trying to set the property of a table, via Vb to hidden, and I aslo would like to...
3
by: jimmyfishbean | last post by:
Hi, My client has the following network structure: 2 Windows 2003 servers : Server 1 - Web server running IIS, ftp import and export folder, ASP.NET SOAP web service and asp code on here....
2
by: Mike | last post by:
VB .NET version 2003 What is the equivalent of GetSetting when trying to read a .INI file. I'm trying to read a .INI file and can't find anything that will help.
0
by: Brad Dennis | last post by:
Using Access 2003, I have a form that reads registry settings using the GetSetting function. It works fine as long as I haven't signed the VBA code. But after using my Thawte Code Signing...
1
by: Christian Perthen | last post by:
Hi, I have a sub in the codebehind page of a user control file that writes html. How do I get the sub triggered and output the html in the content page? See my approach below. Partial Class...
2
by: Mike in Santa Rosa | last post by:
As an old vb6 programmer coming to C# I was wanting to update my technique for storing app settings like for form controls state(radioButton, checkBox selection) and user configurable settings. In...
3
by: Robert Iver | last post by:
Hello, I am developing an application in C# using VS .NET 2005 that will be accessing and updating Active Directory via LDAP. So, far I have written the main portions, but now I am stuck on the...
89
by: Skybuck Flying | last post by:
Hello, This morning I had an idea how to write Scalable Software in general. Unfortunately with Delphi 2007 it can't be done because it does not support operating overloading for classes, or...
16
by: AAaron123 | last post by:
I have a timer. At each tick, say 0.1 second, I write a file. If it takes more than 0.1 second to write the file the app will not work correctly. How can I tell in the tick event if the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.