Article ID: 129942
Article Last Modified on 11/18/2003
Property Value ------------------------------------ Instancing 1-Creatable SingleUse Name Class1 Public True
Public Sub DataLoadList(c)
If TypeOf c Is ComboBox Then
MsgBox "ComboBox"
Else
MsgBox "Not a ComboBox"
End If
End Sub
Private Sub localcheck(c)
If TypeOf c Is ComboBox Then
MsgBox "ComboBox"
Else
MsgBox "Not a ComboBox"
End If
End Sub
Private Sub Command2_Click()
Call localcheck(Combo1)
End Sub
Private Sub Command1_Click()
Dim x As Object
Set x = CreateObject("Project1.Class1")
Call x.DataLoadList(Combo1)
Set x = Nothing
End Sub
Additional query words: 4.00 vb4win vb4all
Keywords: kbprb KB129942