Solved

Could not access system registry?

Posted on 2002-03-13
3
1,336 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

Industry Leaders: 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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

685 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