Welcome to HostingForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

reading and writing to HKEY_CURRENT_USER\Software\vb and vba

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Next:  IIS 5.1 documentation contents not showing up  
Author Message
Roundy

External


Since: Feb 05, 2005
Posts: 2



(Msg. 1) Posted: Sat Feb 05, 2005 2:33 pm
Post subject: reading and writing to HKEY_CURRENT_USER\Software\vb and vba
Archived from groups: microsoft>public>inetserver>iis (more info?)

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.

 >> Stay informed about: reading and writing to HKEY_CURRENT_USERSoftwarevb and vba 
Back to top
Login to vote
BP

External


Since: Feb 03, 2005
Posts: 16



(Msg. 2) Posted: Sat Feb 05, 2005 5:59 pm
Post subject: Re: reading and writing to HKEY_CURRENT_USER\Software\vb and vba [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Try vb scripting news group.

"Roundy" <Roundy.TakeThisOut@discussions.microsoft.com> wrote in message
news:DCF73AC7-5E36-48A8-A51B-09401E6F26C1@microsoft.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.<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: reading and writing to HKEY_CURRENT_USERSoftwarevb and vba 
Back to top
Login to vote
Roundy

External


Since: Feb 05, 2005
Posts: 2



(Msg. 3) Posted: Mon Feb 07, 2005 11:19 am
Post subject: Re: reading and writing to HKEY_CURRENT_USER\Software\vb and vba [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

My questtion also relates to IIS what user runs processes that are using the
dll if I am using ASP to access it. I also posted in the ASP forum.

"BP" wrote:

 > Try vb scripting news group.
 >
 > "Roundy" <Roundy RemoveThis @discussions.microsoft.com> wrote in message
 > news:DCF73AC7-5E36-48A8-A51B-09401E6F26C1@microsoft.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.
 >
 >
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: reading and writing to HKEY_CURRENT_USERSoftwarevb and vba 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Writing to IIS virtual directory - Hi! What should be done to allow writing to IIS 5.1/6.0 directories/virtual directories? I set permissions in IIS Manager to allow writing and browsing but how I should connect to IIS to write a file? I tried to create a new network place but received a...

2003 IIS Event Writing (ASP calling VB dll) - Hi There, We've recently upgraded our webservers to 2003 from NT4 and are now experiencing difficulties with writing items to the event log. When I change the anonymous user account to have local administration rights the VB dll has no problem writing t...

Writing to an Access database - Hi I am trying to write info to an access database (I have done it using visual basic now I'm trying ASP)and have 2 files. First is user_append.html and the second is user_append.asp. When I click on ADD RECORD I get the code from user_append.asp..

Writing a script to map subdomains to folders - Hello all, here's my dilemna. I'm having a hard time finding a script to handle mapping domains on my Windows 2003 server. I know how to setup the subdomains by hand mind you; but I just can't find a script that will automatically generate the subdomains...

IISState not writing output file - I installed IISState on our Windows2000Server (with all service packs) machine. However, when the IIS process crashed, I did not get an output file other than the DrWatson user.dmp file. I started it with: iisstate -p 1234 -hc -d. Anyone have any idea...
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]