Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Could not access system registry?

Posted on 2002-03-13
3
Medium Priority
?
1,373 Views
Last Modified: 2011-06-10
I am running a VB6 debug session on a system from a project group.  The second project is a VB6 DLL.  When I press the run button I get the message "Cannot access system registry".  It appears as though the registration process for the Debug DLL is failing. I have searched the Windows registry and the DLL in question is contained within the registry. (using regsvr32 can register the DLL without problems)   I have been able recently to use the same project group without problems.

I have set the project setting "binary compatibility on" to ensure backwards GUID compatibility.  Others who have used the same project on their machines do not experience any difficulties.  

Steps taken (failed so far):
1)Reboot and restart with nothing else loaded
2)create project group from scratch again.
3)reregister Dlls

Operating system : NT4, VB6 (SP3), Running with 350Mhz processor with 128Mb Ram, 1.4Gb left on a 6Mb disk.

0
Comment
Question by:ajmfoxy
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 

Accepted Solution

by:
GuruVB earned 400 total points
ID: 6860143
Try This:- (U need Administrator login)
1. Go to desktop, R-Click on My Computer -> Properties
2. Go to Performance tab
3. Click on change (button)
4. There you change the registry size to let's say 64MB.

Reboot your system and run u r VB project.

I hope this will help you :)

Thanks and kind regards.

0
 

Author Comment

by:ajmfoxy
ID: 6860241
You saved my life.  I increased the size to 64Mb and the problem has gone.  I think I've had a number of extra programs installed recently which must have increased the registry to creaking point (previous size was 30Mb)
0
 

Expert Comment

by:GuruVB
ID: 6860262
You are welcome :)
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

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

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
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

610 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