Solved

Could not access system registry?

Posted on 2002-03-13
3
1,311 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
Comment Utility
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
Comment Utility
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
Comment Utility
You are welcome :)
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
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…
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…

763 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now