SoFunction
Updated on 2025-03-10

The simplest vbs class instance code

class CFoo
    sub PrintHello()
         "Hello World!"
    end sub
end class

dim obj
set obj = new CFoo 
call 
set obj = nothing