473,327 Members | 1,997 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,327 software developers and data experts.

"Replace" settings stored in a registry key with a local file?

Hello all, first post here.

I am using an old audio effects plugin (a .DLL) . It's "portable" (meaning that it doesn't need to be installed to run) but nevertheless it registers its equalization settings in the Windows registry.

Naive question - can I somehow "re-route" that registration process so that these values are stored in (and retrieved from!) a local file instead?

The idea is to include this plugin on a CD that can be started on a different computer without having it reset to "default" settings.

The plugin was freeware and the author's contact information is obsolete so I can't ask him directly. I have 0 experience with editing a DLL but am willing to learn ;-)

It stores these settings as follows:

---
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Ioscasoft]

[HKEY_LOCAL_MACHINE\SOFTWARE\Ioscasoft\Enhancer]

[HKEY_LOCAL_MACHINE\SOFTWARE\Ioscasoft\Enhancer\Ver sion 017]
"Volume"=dword:00000048
"Harm Bass"=dword:0000001f

(...) etc, for about a dozen equalization settings

[HKEY_LOCAL_MACHINE\SOFTWARE\Ioscasoft\Enhancer\Ver sion 017\Skin File]
@=""
---

Thanks! I hope I'm posting this to the correct forum.
Dec 4 '06 #1
2 2046
Add-on to my earlier post.

I have searched the Microsoft KB and googled all over the place but I guess what I'm looking for is just impossible.

I noticed that the HKEY_CURRENT_USER hive can be accessed by a regular user whereas HKEY_LOCAL_MACHINE needs admin privileges.

So now I wonder if the following idea is viable:
1. modify the DLL so that it stores all values in the HKCU instead of the HKLM hive
(nB how? can I just edit it in VB studio and replace HKLM with HKCU?)

2. Include a batch file on my CD that would register this modified key (via REG ADD - should now work even w/o administrator priviledges?)

3. After execution, REG DELETE the whole key again.
What I'm really trying to do is run a completely "green" CD - insert, watch, eject, no changes whatsoever on the syetem.

I guess I'm just really confused about why this DLL registers in the HKLM hive.
After all, it just appears to store user preferences?
Sloppy programming by the original author or am I missing something important here?

I'd greatly appreciate some help even if it's just to tell me that I'm posting in the wrong forum here - I'm really kinda lost. Thanks.
Dec 4 '06 #2
OK forget it, I found a solution on my own. Thanks for nothing.
Dec 5 '06 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Luke Dalessandro | last post by:
I have an application where there is a primary XML data file. I'll use the following as an example: <data> <item id="a"> <name>A</name> <price>$10</price> </item> <item id="b">...
6
by: vigi98 | last post by:
Hello all, Can someone confirme that this: var strURLpiece = "UK & Ireland"; strURLpiece.replace("&", "%26"); replaces all occurrence of the character & by %26 in strURLpiece, ie that...
3
by: asd987 | last post by:
Hi, Can anyone tell me if "replace" is supported by Access 97? I use the Dutch version and get the errormessage "sub or function not supported". Or is the Professional Edition needed? Thanks.
6
by: Marty | last post by:
Hi, I would like to replace "\r\n" by "_" within a specific string. I tried : strMyString.Replace('\r', '_'); strMyString.Replace('\n', '_'); or...
1
by: Ned | last post by:
I record where equipment is stored by using a text field. There is also a Building/Room table. A certain building has changed prefixes. Is there any way to accomplish a partial "replace" so that...
0
by: Rave | last post by:
This is a long shot, but I thought I'd try it. I am currently using excel as an inventory tool. I currently have a hand-held scanner plugged into a laptop for reading barcodes. Using the "Find and...
2
by: John Nagle | last post by:
I'm trying to clean up a bad ASCII string, one read from a web page that is supposedly in the ASCII character set but has some characters above 127. And I get this: File...
5
by: Curious | last post by:
I have: if (temp.Contains("Account") == true) { temp.Replace("Account", "Client"); } The "Account" is not replaced by "Client" after this operation. I used
3
by: Curious | last post by:
I have another question about Regular Expression. If I use: if (temp.Contains("Ending") == true) { temp = System.Text.RegularExpressions.Regex.Replace(temp, "Ending", "Beginning"); } It...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.