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

how to use register selectively

I am looking for a way to create a virtual registry and force only certain programs to use this one? Or to create a virtual Registry but which i can shut down (this registry will be only used while i activate it)?!

Or redirect all querys to another place in the registry
I've seen similar issues. But there is no answer how to use the register selectively!
Open for any help. Appreciate your help.

Greetings.
Feb 15 '13 #1
16 1798
weaknessforcats
9,208 Expert Mod 8TB
You might have a look at the Observer design pattern.

This pattern allows objects to enroll themselves as observers. The enrollment may be managed by mediator object.

Then when an event occurs in a target object, that object can call its Notify() method which wil contact the Mediator object who in turn will pass the event info to all of the observers.

It's like notifying the subscription department that has 50 magazines of a change of address of a subscriber. The address maintenance object senses and address change and gets 50 mailing lists updated automatically.

In your case, your certain object signs up as an Observer and your control object can notify the mediator which passes the info along to the observers as to what registry to use. Similarly, your control object can notify the observers that the registry is not available.
Feb 15 '13 #2
Hi, I had never met such a question. I think it's impossible to use virtual registry selectively.
Feb 18 '13 #3
Thank you, perhaps there are other ideas?
Feb 19 '13 #4
Jurnero
32
Look, maybe this site will help you http://portableapps.com/
I want to ask how you are going to create a virtual registry?
Feb 21 '13 #5
Thank you, what tools do you use to create virtual registry?
Feb 22 '13 #6
Jurnero
32
I know a lot of tools to create a virtual registry. One of the most popular - vmware. As for me, I use boxedapp.
Maybe this link will be useful for you http://msdn.microsoft.com/en-us/libr...(v=vs.85).aspx
Feb 25 '13 #7
I do not know how to use a virtual register selectively. But you can use portable applications that do not require entries in the register. What do you think about this?
Feb 26 '13 #8
Thanks, I'll think about it
Feb 27 '13 #9
Registry virtualization is an application compatibility technology that enables registry write operations that have global impact to be redirected to per-user locations. This redirection is transparent to applications reading from or writing to the registry. It is supported starting with Windows Vista.
This form of virtualization is an interim application compatibility technology; Microsoft intends to remove it from future versions of the Windows operating system as more applications are made compatible with Windows Vista and later versions of Windows. Therefore, it is important that your application does not become dependent on the behavior of registry virtualization in the system.
Virtualization is intended only to provide compatibility for existing applications. Applications designed for Windows Vista and later versions of Windows should not write to sensitive system areas, nor should they rely on virtualization to remedy any problems. When updating existing code to run on Windows Vista and later versions of Windows, developers should ensure that applications only store data in per-user locations or in computer locations within %alluserprofile% that properly use an access control list (ACL).
Feb 28 '13 #10
Thanks for the advice. I think I understand how to implement my plan.
Closed
Mar 1 '13 #11
I think that there is no difference how to use the virtual registry
Mar 28 '13 #12
If you re interested in this topic again, I want to add. Recently read on the forum that one guy tried to install two identical portable programs simultaneously. It turns out that this is impossible!
Mar 29 '13 #13
Thanks, guys! I have read this topic and now realized my mistake. I can't use the virtual registry selectively. Perhaps only so far
Apr 1 '13 #14
Hi!
I thought that a program like microsoft detours will be useful in your case.
!Software developers can use Detours to create an automatic distributed partitioning system. Developers and architects can also use this technology to instrument and analyze the DCOM protocol stack, and to create a thunking layer for a COM-based OS API!
Apr 25 '13 #15
Thank you. Perhaps this program could satisfy my needs, but it is too expensive. I would like to find a more acceptable variant
Apr 26 '13 #16
If detours satisfie your needs, you can use alternative development, such as EasyHook, BoxedApp, Cameyo, Deviare
Apr 29 '13 #17

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

Similar topics

1
by: dejausenet | last post by:
I have firefox 1.0, running on winxp Firefox blocks popups fine, but sometimes, for selected occassions only, i would like to be able to have window popup; without enabling whole domains, as...
11
by: Michael B Allen | last post by:
Here's fragment of C from an allocator. This allocator permits the user to specify a callback to reclaim memory if necessary. If memory cannot be found the 'if (reclaim)' block is entered and the...
4
by: tarunbajaj | last post by:
Hi all, I am inserting a key in HttpContext.Cache Some keys I am caching for multiple days. Out of these once a while I need to reset cache entry of specific key. I can do a lot to reset the...
10
by: Robert Jacobson | last post by:
Hi, I'm develing a COM add-in for Microsoft Word XP that displays a form. I'd like to have the form display using the Windows XP theme. However, neither using a manifest nor calling...
3
by: Frustrated Developer via DotNetMonster.com | last post by:
I have posted a couple times on here already and found the user community to be very helpful. I took on a project before I realized how difficult a time I'm having working with a database....
5
by: cotton_gear | last post by:
Hello, When I clicked on the Reset button I need to reset only few fields selectively. How do i achieve it using javascrript ? Actually, when reset is clicked, even hidden fields are reset. I...
1
by: Siva | last post by:
Hi, I have a 3 tier ASP.Net app for a handheld which needs to fetch orders from database via a DAL and populate it in a gridview using objectdatasource. In the search page I have a few parameters...
0
by: negmat | last post by:
Hello everyone, I have the following question: I am aware that the objects currently in the cache can be viewed by issuing the following command: SELECT * FROM master.dbo.Syscacheobjects ...
3
by: joelq1981 | last post by:
Dear friends, I want to extend the interrupt handler of a program, my code is: ... if ($pid = fork) { local $SIG{INT} = sub { print "Please select:\n"; $choice =...
7
by: smohideen | last post by:
I have a known problem of GLIBCXX version mismatch while running my binary compiled on Fedora 5 on Fedora 3. It says "version `GLIBCXX_3.4.5' not found " . Then I did GLIBCXX_3.4 GLIBCXX_3.4.1...
0
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...
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: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
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: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
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
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
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.