WScript is also called VBScript. Visual Basic and VBScript are very very similar. They are actually identical in syntax and structure. The main difference is that VBScript does not have as many features as Visual Basic, and some objects in VBScript aren't necessary in Visual Basic. So, unless you hit those exceptions, Visual Basic code would work in VBScript and visa-versa.