一个最简单的vbs类实例代码
(编辑:jimmy 日期: 2024/11/1 浏览:3 次 )
class CFoo
sub PrintHello()
response.Write "Hello World!"
end sub
end class
dim obj
set obj = new CFoo
call obj.PrintHello
set obj = nothing
sub PrintHello()
response.Write "Hello World!"
end sub
end class
dim obj
set obj = new CFoo
call obj.PrintHello
set obj = nothing
下一篇:vbs实现右键菜单中添加CMD HERE