求用visual basic编写的 小程序或者游戏,简单点的嘛,代码100行左右就够了,。。。急需!!!谢谢拉!! 30
2个回答
展开全部
Private Sub Command1_Click()
a = Shell("C:\WINDOWS\system32\mshearts.exe", vbNormalFocus)
End Sub
Private Sub Command2_Click()
a = Shell("C:\Program Files\Windows NT\Pinball\pinball.exe", vbNormalFocus)
End Sub
Private Sub Command3_Click()
a = Shell("C:\WINDOWS\system32\winmine.exe", vbNormalFocus)
End Sub
Private Sub Command4_Click()
a = Shell("C:\WINDOWS\system32\sol.exe", vbNormalFocus)
End Sub
添加四个按钮,分别写代码
a = Shell("C:\WINDOWS\system32\mshearts.exe", vbNormalFocus)
End Sub
Private Sub Command2_Click()
a = Shell("C:\Program Files\Windows NT\Pinball\pinball.exe", vbNormalFocus)
End Sub
Private Sub Command3_Click()
a = Shell("C:\WINDOWS\system32\winmine.exe", vbNormalFocus)
End Sub
Private Sub Command4_Click()
a = Shell("C:\WINDOWS\system32\sol.exe", vbNormalFocus)
End Sub
添加四个按钮,分别写代码
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询