文章作者 100test 发表时间 2007:09:06 12:00:41
来源 100Test.Com百考试题网
Public Name As String |
Dim MyDog As CDog Set MyDog = New CDog MyDog.Name = "Billy Moore" MsgBox MyDog.Name Set MyDog = Nothing |
Dim MyDog As CDog |
Set MyDog = New CDog |
MyDog.Name = "Billy Moore" MsgBox MyDog.Name |
Set MyDog = Nothing |
Dim MyDog As CDog Set MyDog = New CDog Dim MyDog2 As CDog Set MyDog2 = New CDog MyDog.Name = "Billy Moore" MsgBox MyDog.Name MyDog2.Name = "Sadie Moore" MsgBox MyDog2.Name Set MyDog = Nothing Set MyDog2 = Nothing |
Public Age As Integer |
Dim MyDog As CDog Set MyDog = New CDog Dim MyDog2 As CDog Set MyDog2 = New CDog MyDog.Name = "Billy Moore" MyDog.Age = 4 MsgBox MyDog.Name &. " is " &. MyDog.Age &. " years old" MyDog2.Name = "Sadie Moore" MyDog2.Age = 7 MsgBox MyDog2.Name &. " is " &. MyDog2.Age &. " years old" Set MyDog = Nothing Set MyDog2 = Nothing |
相关文章
VisualBasicCOM基础讲座之属性
VisualBasicCOM基础之更多属性
VisualBasicCOM基础讲座之类的建立
VB教程第一章:我的第一个VB程序——“跟我来学VB神童教程”
VisualBasicCOM基础讲座之简介
使用SQLServer2000日志转移实现高可用性
SQLServer应用技巧:内部连接和外部连接中NULLS的影响
澳大利亚华人论坛
考好网
日本华人论坛
华人移民留学论坛
英国华人论坛