Solved

Error Accessing System Registry

Posted on 2004-09-22
7
3,491 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 500 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

860 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