vb 判断 控件是否存在
引用:http://zhidao.baidu.com/question/95306345.htmlPrivate Sub Form_load() Dim i As Integer For i = 0 To Me.Controls.Count - 1 If Me.Controls.Item(i).Name = "Shape1" Then 'me 可以用你控件...