I made a dll in C#.net with MS Visual C# 2005 Express Edition. When i declare the ActiveXObject it gives either of the two errors.
code:
Error: unknown.
Line: 4. Code: -2147024894.
or
code:
Error: Automation server can't create object.
Line: 4. Code: -2146827859.
-The dll is COM Visible
-The dll is registered with ResAsm utility and is also placed in <DotNetFiles> in the ScriptInfo.xml
-A GUID is registered.
I've read other threads on the forum, some of them having the same problem. But none have a working solution
.
Any help is appreciated