Solved

Could not access system registry?

Posted on 2002-03-13
3
1,333 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
  • 2
3 Comments
 

Accepted Solution

by:
GuruVB earned 100 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

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Suggested Solutions

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
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…

825 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