Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Error Accessing System Registry

Posted on 2004-09-22
7
Medium Priority
?
3,502 Views
Last Modified: 2008-01-09
When I try to set references in VB (Project - References), I get an error "Error accessing the system registry."
How can I resolve this?

Very URGENT!!
0
Comment
Question by:tawandat
7 Comments
 
LVL 8

Accepted Solution

by:
mladenovicz earned 2000 total points
ID: 12121074
0
 
LVL 17

Expert Comment

by:inthedark
ID: 12121421
Further to  mladenovicz suggestion....
You must use regedt32 to be able to set registry security. If you are having a problem developing then you need read/write permissions.  When running the user nees read permissions. The normal and more user-friendly regedit does not show the security options.

Another good way of resolving strange error conditions is to use filemon.exe (a free download). Filemon shows access to any file, including registry, as sometimes security issues are not always registry issues.
0
 
LVL 26

Expert Comment

by:EDDYKT
ID: 12121926
You can try to use regclean to clean the registry

http://www.download.com/3000-2094-881470.html?tag=list
0
 
LVL 8

Expert Comment

by:rajaloysious
ID: 12122666
You should be given permissions by an administrator using the reged32.exe (Registry Administration Tool)
Better to give read permissions for all keys vix HK_LOCAL_MACHINE etc....

Contact a administrator and this problem will be resolved.
Cheers..
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question