Here is a simple example that uses the Microsoft ScriptControl to evaluate a JScript expression. This is a very indirect way to add 2 and 2.
Consuming Visual Basic 6 (VB6) and Visual Basic.NET COM-enabled DLLs.
Recent builds of Scriptom can be found here. Older versions are archived: