I\'ve compiled C# code into a DLL, but have little experience with them. My C# code contains a class HelloWorld with a static method Print(). I\'d
HelloWorld
Print()
I think you might be looking for Registration-Free COM. This SO answer regarding the Microsoft.Windows.ActCtx should help specifically for VBScript.
Keep in mind that COM doesn't support static methods, so you'll have to make your Print method into an instance method.