'Error on vb6 "Run-Time Error -2147319779 Automation error Object library not Registered"
Hi guys i am having trouble using the FileSystemObject in Windows7 Home Premium'm getting an error message "Run-Time Error -2147319779 Automation error Object library not Registered" I used this code on windows xp sp3 and it worked good, I tried Registrer dll "c: \ windows \ system32 \ scrrun.dll" but is still showing the error, Thank you all!
Set Diretorio = FSO.GetFolder(DiretorioDinamico)'The error occurs here!
Solution 1:[1]
I've got the same issue with bad registration of some common components installed on syswow64, among them the mscomctl.ocx. After searching for and not found a solution, I derived one that solved the problem. So, the only way to solve was:
- Unregister the
mscomctl.ocx(with elevated privilegies) - Disabled the Internet Explorer (version 10 in my case)
- Reboot the system
- Register the
mscomctl.ocx(Always elevated) - Enabled IE10 again
It seems to be IE10 the problem. Since I disabled it, I could finally correctely register the common controls.
I hope (despite my bad english) help someone who is facing the same problem.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | angelatlarge |
