例如先有命令dim a sd stringshell "a:\"想让"a:\"中的a为a变量中的值,怎么办
那样也不行谢谢大家了,已经哦了代码如下Private Sub Command1_Click()Dim a As Stringa = text1.Text
Select Case aCase "c"Shell "explorer c:\"
Case "d"Shell "explorer d:\"
Case "e"Shell "explorer e:\"
Case "f"Shell "explorer f:\"
End SelectEnd Sub学c的vb入门中
[此贴子已经被作者于2007-10-4 0:19:25编辑过]