运行时缺少” 启动窗或sub main()“什么意思?
这是一个查询时间的简单程序,运行时系统说缺少“启动窗或sub main()",我是初学者,不知道什么意思,需要怎么解决,望各位高手帮助,谢谢! 程序如下:
Private Sub command1_click()
Command1.Visible = False
labdate.Caption = Date$ '显示当前日期
latime.Caption = Time$ '显示当前时间
Command2.Visible = True
Command3.Enabled = True
End Sub
Private Sub command2_click()
Command2.Visible = False
Command1.Visible = True
ladate.Caption = ""
latime.Caption = ""
End Sub
Private Sub command3_click()
End
End Sub