没见过这么用的 is一般用来判断吧 像 if a is nothing 之类 再有就是select case acase is>5 end select这么用 至于你写的 还真没见过 你想弄啥呢
跟你说过了if typeof(Text1) is TextBox thenmsgbox "是文本框"end if
你没有绘制command1和command2这两个对象