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

NoBody Have any idea about Regsistry

Hey my bose told me to generate the cide that scan the regsitry. What it maens,can somebody explians that,I wnat to know what is shown as o/p.
May 22 '08 #1
5 1147
Plater
7,872 Expert 4TB
Probably scan through the registry for a particular entry or entries.
Why not ask your boss what that means?
May 22 '08 #2
hey frnds on Form Load, I am displaying the displaying the registry keys & Subkeys.

In this procedure,we have to create object
dim registry as classesroot
dim obj as localmachine

I m importing the namespace
Imports Microsoft.Win32

Error-ClassesRoot,Localmachine is not a member of registry.

Is there any other namespace also which is to be imported???
May 26 '08 #3
hey frnds, I m not getting the answers regaring registry.
I want to know how to retrieve Value & Names of REG_DWORD , REG_BINARY type.


is somebody have idea regarding it???????????/
May 27 '08 #4
Plater
7,872 Expert 4TB
Three Threads merged.
It had not even benn ONE day since your last question. You cannot expect immediate answers from a global community.
Double posting your questions is not acceptable behavior and is against the posting guidelines.
Furthermore, if it has been a few days and you are not receiving any help, the common practice is to re-post to the SAME question thread, to get it moved up to the top of the list in hopes that someone notices it.


As to your question, the Microsoft.Win32.Registry object is fairly straight forward and MSDN has plenty of examples on the subject. Maybe you should start there and if you have a specific problem, come back and reply to this thread with your issue.
May 27 '08 #5
vee10
141 100+
hi,

This is just as example i am giving since i have used that in my application but according to ur requirement u should change


Expand|Select|Wrap|Line Numbers
  1.  
  2. public string GetKeyValue()
  3. {
  4.  string key = "hkey_local_machine", subKey = @"System\ControlSet001\Control\COM Name Arbiter", valueName = "ComDB";
  5.       return( GetRegistryKeyValue(key, subKey, valueName));
  6. }
  7.  
  8. public string GetRegistryKeyValue(String key, String subKey, String valueName)
  9.     {
  10.         RegistryKey rkey = null;
  11.         if (key.ToLower().Equals("hkey_classes_root"))
  12.             rkey =
  13.             Registry.ClassesRoot;
  14.         if (key.ToLower().Equals("hkey_current_user"))
  15.             rkey =
  16.             Registry.CurrentUser;
  17.         if (key.ToLower().Equals("hkey_local_machine"))
  18.             rkey =
  19.             Registry.LocalMachine;
  20.         if (key.ToLower().Equals("hkey_current_config "))
  21.             rkey =
  22.             Registry.CurrentConfig;
  23.         if (key.ToLower().Equals("hkey_dyn_data"))
  24.             rkey =
  25.             Registry.DynData;
  26.         if (key.ToLower().Equals("hkey_users"))
  27.             rkey =
  28.             Registry.Users;
  29.         if (key.ToLower().Equals("hkey_performance_data"))
  30.             rkey =
  31.             Registry.PerformanceData;
  32.         if (rkey != null && subKey != null)
  33.             rkey = rkey.OpenSubKey(subKey);
  34.         return (rkey.GetValue(valueName).ToString());
  35.     }
  36.  


hey frnds, I m not getting the answers regaring registry.
I want to know how to retrieve Value & Names of REG_DWORD , REG_BINARY type.


is somebody have idea regarding it???????????/
May 28 '08 #6

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

Similar topics

3
by: photoelectric | last post by:
When trying to run the below script on an apache/1.3.26 with mysql and php I get the following error message: Warning: mysql_connect() : Access denied for user: 'nobody@software-ece.rutgers.edu'...
1
by: Zbigniew Lisiecki | last post by:
Hi, i'd like to send an email from a html form, but i want nobody to see the address, where i send it. how can i acomplish this with php ? is a reference to a function in another document enough...
1
by: Sullivan | last post by:
When I run a CGI script (Python) with Python's CGIHTTPServer, it should run with the UID of the user 'nobody' (as the documentation says). But if I let the CGI script e.g. create a file, it...
6
by: francescomoi | last post by:
Hi. My host decided to disallow mails from 'nobody' ('nobody' is the user of PHP+Apache) due to spam problems. I use the PHP mail function to send out a confirmation email for new users, and...
8
by: Mike Thomas | last post by:
I have two clients now who want to have an Access 2000 & 2002 application running on NT Server 2000 do some file updating at night when nobody is in the office. I have used Windows scheduler to...
1
by: Mike Thomas | last post by:
I want to start this thread again - on my first attempt I was a little ambiguous and was not able to get the answer I need. I am trying to start Access 2000 on Windows NT 2000 Server by using the...
6
by: Peter Oliphant | last post by:
I've now asked how three times in this forum with no answers. So I went to the 'windowsforms' newsgroup, and found this post, also unanswered, with the same problem: "Hello, I've tried to...
4
by: Jason | last post by:
I'm troubleshooting a program that I didn't build, so forgive me on this one. It's called email.php, and it looks like a program that the original developer must have downloaded from somewhere. ...
4
by: Fro | last post by:
Hi, the operating system (Unix) considers a php-server as a user with name "nobody". For example, if my php-script saves a file uploaded by a user, the owner of the file will be "nobody". I...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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,...

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.