473,406 Members | 2,707 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,406 software developers and data experts.

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 1397
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.GetFolderPath(Environment.SpecialFolde r.Favorites)

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_USER\Software").
"Cor Ligthert" <no************@planet.nl> дÈëÏûÏ¢ÐÂÎÅ:OZ**************@TK2MSFTNGP15.phx.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.GetFolderPath(Environment.SpecialFolde r.Favorites)

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.net> 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_USER\Software\Microsoft\Windows\Curr entVersion\Applets\Regedit\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_USER\Software"), the Registry Editor will be openned and
locate to the specified key("HKEY_CURRENT_USER\Software") now.

Thank you

"Cor Ligthert" <no************@planet.nl> дÈëÏûÏ¢ÐÂÎÅ:%2***************@TK2MSFTNGP15.phx.gb l...
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_USER\Software", how to do?

"Cor Ligthert" <no************@planet.nl> дÈëÏûÏ¢ÐÂÎÅ:u$*************@TK2MSFTNGP09.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
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...
4
by: bbdobuddy | last post by:
Hi, How do I open a Microsoft Access 2003 form from Visual Basic.net Thanks in advance bbdobuddy
0
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...
3
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 =...
0
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...
18
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...
3
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...
14
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)...
0
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
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...
0
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...
0
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,...
0
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...

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.