I have written a c# COM component as a dll to automate and external applcation using Visual Studio 2005.
It works well on my development machine in VBscript using CreateObject(.....) and in VBA if I reference the dll.
I created an installation project and used this to install the code onto a new machine.
In VBA everything works OK but using VbScript I get and error 8070002 File not found error when I use CreateObject(......).
I suspect that there is something wrong with the registration of the Type Library but comparisons of the registries doesn't show anything different.
Clearly I have done something incorrect with the installation project but for the life of me I can't see where to go from here.
Hope soemone can help