Getting Class Factory cannot supply requested class Error
Hi everybody
This is my first post in this forum
I am facing a problem, which I am unable to solve. I am developing a software using VB6. Many of the users are using it, but one of them is getting a problem, the error this application is getting is as follows
Run-time error "-2147221231 (80040111)":
Automation error
classFactory cannot supply requested class
The error is coming from the form load method of the startup form
And there I am using FileSystemObject’s FileExists and App.path” to load a “.cur” file
The following "IF" is giving the error
If ofso.FileExists(App.Path & “\smalllogo.ico”) Then
….
….
End if
I also have a “.dll” file which I am not using at this point
Please give me a solve.
kajol