Somehow I have an invalid reference in the VBA code of my Access 2010 application. When I try to go to Toots, References I get an error message "Error accessing the system registry".
I am running Windows 7
I'm using Windows 7 too and solved this error with the "User Account Control Settings", and then chose "Never Notify" about changes in my computer!
User Account Control Settings
I ended up reinstalling Windows and the problem was resolved. Unfortunately I never resolved the reason this was happening.
Related
I have a Desktop: MS Office Pro Plus 2016 & Win10 Pro 64bit v1909, and also a Laptop: identical setup but different Office keys all fully activated. MS-Access has started throwing an error (exactly same on both machines) since the latest Windows update. This error is happening with a standard "Desktop Database" stand alone / not shared etc.
Whenever I try to Compact & Repair or File / Save As, MS-Access errors with-
"Could not use 'path\file.accdb'; file already in use".
This did not occur (on either machine) before the latest Windows updates. It occurs for both new DBs and existing DBs. I have tried: Permissions in the folder: I'm using an Admin Account and can read/write/update/delete etc-so no issues. I've also disabled all Firewalls, Anti Malware to see if that was the problem - same error. As the same thing has occured on 2 independent machines after the same Windows update, it makes me suspicious of that - has anyone experienced the same error or have any idea how to solve this?
Many thanks for your help in advance.
Kind regards,
Bob
I have been programming visual basic for 20+ years. This problem appeared suddenly in Access 2010.
When I try to open immediate window, Locals window and Watch Windows I get the error message: File Not Found
I did have problems stating Access 2010. It would reinstall Office and then give me this error: "error 1907 could not register font". Normally i could just hit ignore 3 times, and then the program would start. I wanted to fix this problem, so after clicking ignore two times, I chose Cancel the last time. The installation progress bar went backward. I did a "SFC /SCANNOW" with no problems identified. I rebooted. Next time I got into Access VBA IDE I could not access either immediate, locals or watch windows. When trying, I get "File not found."
Since then, I have made a repair of Office 2010. I did update windows and restart several times. Nothing is working.
In Excel 2010 VBA IDE, the windows are not missing.
I use Windows 10. Office 2016 is also installed on this computer.
Repairing Office 2010 was not enough.
I had to remove Office 2010 completely and reinstalled it.
I have recently installed a compiled Access application on a Windows 8.1 machine running Office 2013, and forms using treeview don't seem to be working. I get the error:
Object or class does not support this set of events.
Point is: You can no longer operate TreeView in 64 bit Office.
I solved my own problem with the following steps:
Deleted MSCOMCTL.OCX from \Windows\Syswow64
Opened the Access form that was giving me a problem, and Access reinstalled MSCOMCTL.OCX automatically.
Opened a command window with the "Run As Administrator" option
Navigated to \Windows\Syswow64
Ran regsvr32 /u MSCOMCTL.OCX
Ran regsvr32 MSCOMCTL.OCX
Reopened Access and it worked!
Note: You will need to do this in System32, NOT Syswow64 for 64-bit office. Dumb naming standard, I know.
#t_m , Thanks for your help!
I get this error when I open a ms access 2003 application on a user's windows 7. If I open the same application on my windows 7 machine I don't get the error.
Creating a blank Autoexec solved the issue. I still don't know why it didn't affect all the users.
I deployed an MDE file on the terminal server and when I double clicked the MDE i have the following error. " There isn't enough memory to perform this operation. Close unneeded programs and try again.
I never had any issues on local machine.
I tried de-compiling and compacting and again compiling. I can open other forms but only SwitchBoard is the issue. Any thoughts? Hardly there are 9 links from the MainMenu.
If you're in the console session on the terminal server (at a KVM?), or if you enable "Install Mode" (after you remote desktop, running "CHANGE USER /INSTALL"), does the problem still occur? I don't know of any specific issues with MDE applications over terminal services, but trying those two things will let you know if it's related to the TS configuration, or if it's a problem running that MDE on the server itself.
Can you update the question with the version of both Windows Server and Access you're using? This Microsoft KB article suggests a problem when you have Windows Server 2003 and Access 2000, so some more detail would be helpful here.