标题:VB为什么这么难?》
取消只看楼主
o___o___o
Rank: 1
等 级:新手上路
帖 子:19
专家分:0
注 册:2007-11-1
 问题点数:0 回复次数:0 
VB为什么这么难?》
下面全部勾选后 点击Command1 后 怎么才能 让 1.EXE 运行结束后 在运行2.exe 以次类推

请把 代码写全了 我是新手 写好了 给你加分

Private Sub Command1_Click()
If Check1.Value = 1 Then
Shell ("C:\1.exe") '路径
End If
If Check2.Value = 1 Then
Shell ("C:\2.exe") '路径
End If
If Check3.Value = 1 Then
Shell ("C:\3.exe") '路径
End If
If Check4.Value = 1 Then
Shell ("C:\4.exe") '路径
End If
If Check5.Value = 1 Then
Shell ("C:\5.exe") '路径
End If
If Check6.Value = 1 Then
Shell ("C:\6.exe") '路径
End If
If Check7.Value = 1 Then
Shell ("C:\7") '路径
End If
If Check8.Value = 1 Then
Shell ("C:\8") '路径
End If
End Sub
搜索更多相关主题的帖子: quot Then Shell End 路径 
2008-05-26 08:16



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-215937-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 2.280134 second(s), 8 queries.
Copyright©2004-2025, BCCN.NET, All Rights Reserved