473,659 Members | 2,659 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to open specified location in Registry

yxq
Hello,
I want to open the specified location in Registry using VB.NET similar
Registry Favorite, how to do?

The regedit.exe can not open specified location.

Thank you
Nov 21 '05 #1
7 1402
YXQ,

Probably because that the favorites are not in the registry however in the
"favorite" folder.
The name and place of that is depending from the used system however you can
find it with

Environment.Get FolderPath(Envi ronment.Special Folder.Favorite s)

I hope this helps?

Cor
Nov 21 '05 #2
yxq
Thanks, but i think you have not understanded my meaning.
When open the Registry Editor, i want to straightway locate and open a
specified key(i.e. "HKEY_CURRENT_U SER\Software").
"Cor Ligthert" <no************ @planet.nl> дÈëÏûÏ¢ÐÂÎÅ:OZ **************@ TK2MSFTNGP15.ph x.gbl...
YXQ,

Probably because that the favorites are not in the registry however in the
"favorite" folder.
The name and place of that is depending from the used system however you
can find it with

Environment.Get FolderPath(Envi ronment.Special Folder.Favorite s)

I hope this helps?

Cor

Nov 21 '05 #3
yxq,

I think I miss your question, can you tell me what is the relation to VBnet,
than maybe I understand it better?

Cor
Nov 21 '05 #4
"yxq" <ga***@163.ne t> schrieb:
I want to open the specified location in Registry using VB.NET similar
Registry Favorite, how to do?

The regedit.exe can not open specified location.


I don't know a stable and good solution for that. Maybe it works by setting
the
'HKEY_CURRENT_U SER\Software\Mi crosoft\Windows \CurrentVersion \Applets\Regedi t\LastKey'
registry key before starting "regedit".

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #5
yxq
Like some registry monitor software, double-click a registry key(i.e.
"HKEY_CURRENT_U SER\Software"), the Registry Editor will be openned and
locate to the specified key("HKEY_CURRE NT_USER\Softwar e") now.

Thank you

"Cor Ligthert" <no************ @planet.nl> дÈëÏûÏ¢ÐÂÎÅ:%2 *************** @TK2MSFTNGP15.p hx.gbl...
yxq,

I think I miss your question, can you tell me what is the relation to
VBnet, than maybe I understand it better?

Cor

Nov 21 '05 #6
yxg,

First, I don't see how this is VBNet related, can you explain that too me. I
have no problems with answering OT messages. However otherwise that we are
building a complete thread with it seems me a little bit overdone.

Second when you want to see the registry using regedit you needs
administrator rights.

Cor
Nov 21 '05 #7
yxq
Hello,
I want to to open Registry Editor in the specified location using
regedit.exe,
for example, regedit.exe "HKEY_CURRENT_U SER\Software", how to do?

"Cor Ligthert" <no************ @planet.nl> дÈëÏûÏ¢ÐÂÎÅ:u$ *************@T K2MSFTNGP09.phx .gbl...
yxg,

First, I don't see how this is VBNet related, can you explain that too me.
I have no problems with answering OT messages. However otherwise that we
are building a complete thread with it seems me a little bit overdone.

Second when you want to see the registry using regedit you needs
administrator rights.

Cor

Nov 21 '05 #8

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

Similar topics

2
435
by: RSB | last post by:
Hi Every one, I am currently using Visual Studio .Net and trying to open a project from SourceSafe and once i open the project for the first time i get the following error/warning... "The binding information for this solution could not be retrieved from its source control provider. This solution may have been placed under source control with a different provider configuration from the current one. To keep source control working for...
4
12270
by: bbdobuddy | last post by:
Hi, How do I open a Microsoft Access 2003 form from Visual Basic.net Thanks in advance bbdobuddy
0
27031
by: nezoat | last post by:
Here is some working code to open the specified TCP port on the gateway nat device or firewall, and forward it to the calling machine. Great for p2p apps. The newsgroups are such a great resource and have helped me so much, I hope this helps others. Let me know if you find it useful! Lee Carlson Lee (at) Carlson (dot) net -----------------------------------
3
6785
by: kim | last post by:
GOOD morning, I try to open xx.vbs in <href="./xx.vbs"></hef> but it pop up the file download mesage. How can i disabled it? I try another solution like this : set ws = createobject("Wscript.shell") set oexec = ws.exec("<%=server.mapPath(./xx.vbs)%>") But it give error "the path/xx.vbs is not a valid win32 application" May i know why? I think some setting in registry will open the vbs file
0
12040
by: bazzer | last post by:
hey, im trying to access a microsoft access database from an ASP.NET web application in visual basic 2003.NET. i get the following error when i try running it: Server Error in '/CinemaBookingSystem' Application. -------------------------------------------------------------------------------- ERROR General error Unable to open registry key 'Temporary (volatile) Jet DSN for process
18
3325
by: len.hartley | last post by:
Hi, I am trying to pop-up a window when the user clicks on an image. The problem is that when the user clicks on the image and the window pops up OK, but the window underneath also proceeds to the image. The desired behavior is that when the pop-up is invoked, I want the underlying window to stay put. I don't have this problem when I run the code on my local computer but I do have it when I run the code on geocities.
3
3580
by: Johnny | last post by:
Hi, As you know, I can use this to open an Excel file: """ import win32com.client doc = win32com.client.Dispatch("Excel.Application") doc.Workbooks.Open(excelFile, ReadOnly=True) """ But the problem is when I only pass the filename to the Open()
14
5728
by: Keith | last post by:
I have an MDE application used by several hundred people in different parts of the world. The majority of users are of lesser experience computer experience. The app consists of a frontend (MDE) and backend (MDB), a help file and a key file. To this point, I have provided users with an installation package which installed both files into their program files folder with no problems. A few users are getting new computers with vista...
0
5088
by: mix01 | last post by:
Hi, I am trying to get some VBA code working, but am preplex as to why it does not work. I would really appreciate any level of help. Many thanks, Mix01 Version of the program
0
8427
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8851
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8746
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8525
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8627
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7356
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6179
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
2750
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1737
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.