.Net Classes within VBScript: Doing Randomness and Arrays the Easy Way

.Net and VBScript can play togeth­er
Back in 2007, the Microsoft Script­ing Guys post­ed a arti­cle titled “Hey, Script­ing Guy! Be Care­ful What You Say.” This arti­cle changed every­thing in the way I script­ed because it should how sim­ply you can access some .Net class­es through COM callable wrap­pers. The two they focus on are “System.Random” and “System.Collections.ArrayList”.
Set objRandom = CreateObject("System.Random")
Set objArrList = CreateObject("System.Collections.ArrayList")

Read More