?
Solved

Could not access system registry?

Posted on 2002-03-13
3
Medium Priority
?
1,363 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…
Suggested Courses

765 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