Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error accessing Project > References window?

In Visual Basic 6, when I attempt to access Project > References, it throws an error:

Error accessing system registry

I am:

  • Logged in as the local computer administrator
  • running Windows XP Professional and
  • I can execute regedt32.exe and access all the registry keys just fine.

VB6 was installed as the local administrator.

Any idea why this happens?


I'm running crystal reports 8.5 and it supposed to already have fixed that issue but apparently I still have the issue with 8.5 installed. I have also made the attempt of reinstalling crystal reports with no luck on the issue.

like image 301
phill Avatar asked Sep 19 '08 18:09

phill


People also ask

How do I fix Visual Studio Reference error?

To fix a broken project reference by correcting the reference path. In Solution Explorer, right-click your project node, and then select Properties. The Project Designer appears. If you're using Visual Basic, select the References page, and then click the Reference Paths button.

How do I fix missing references in VBA?

First, you should try the Detect And Repair option on the Help menu. After this has run, close Excel and reopen it and look at the References dialog in VBA. If there are no missing references, then Detect And Repair worked successfully.

How do you find references in a project?

You can view references in Project Explorer or when you click References on the Tools menu.


2 Answers

For me this worked:

  1. goto C:\Program Files\Microsoft Visual Studio\VB98
  2. change the property of VB6.EXE by right click->Compatibility In privilege level section, check the option Run this program as Administrator
like image 74
Raj Avatar answered Oct 04 '22 15:10

Raj


Depending on the Windows OS you have (I have Windows 7 Enterprise), you might want to try giving administrator rights to the REGTLIB.EXE (located in C:\Windws). Right click on the REGTLIB.EXE file. Select Properties from the pop-up menu. Then select the Compatiblity tab. On the Compatiblity tab, check/select the Run this program as Administrator checkbox. Click OK to save your changes. It might take take care of the problem for you. It worked for me. Good luck.

like image 22
Big Al Avatar answered Oct 04 '22 14:10

Big Al