Automation Error Library not registered
Hi,
I have a VB application and it works fine for me. When I try to install the app in client machine I got the following error.
2147319779-Automation error Library not registered.
It is a Windows Vista Ver: 6.0 machine.
I tried to register vbscript.dll through inno setup and manually but still getting the same issue. Here is the code gives the error.
dirv = dirv & "\Print"
Set fsopath = New FileSystemObject
If fsopath.FolderExists(dirv) = False Then
fsopath.CreateFolder (dirv)
End If
Set fsopath = Nothing
Please help me how to fix the issue. Thanks in advance
Re: Automation Error Library not registered
You have to first register the OCXs and DLLs that are packaged with the project in the compile time version. To do this you have to run the control register cosnole that exists inside the command line. Therefore you can then run the OCXs and DLLs on any machine that supports Windows 32-Bit, and above that. Then you have to package the run time files that come complete with any kind of Windows program. This means that you can take Visual Basic with you, but not litterly, in deed. Then move the run time files, into the application folder, with a sub folder, named Support. It must have a cap S, for the beginning or it won't find it. I have found, using my own experiences. Then make sure that you only have the one of the run times on the client or server systems. To do this you then make the run times be installed into the windows folder, where you are able to only have the one type of run times of each language, there. Which is then the final step to the fixing of this problem. Any kind of third party OCXs and DLLs, must then be placed into the folder, Support. As above in this Post, in your Thread. This is a special system folder for each of the apps of Visual Studio 6.00, because that is where it will then be able to read the third party stuff, like OCXs and DLLs...
-- I hope that it makes a difference to you, cause I am the one that came to you to help you...
Re: Automation Error Library not registered
Can you open your project file (*.VBP) in Notepad and copy and paste all its contents here?
Re: Automation Error Library not registered
-- What about the FRM files, along with the CTL files, too???