![]() |
#2
txxb2015-01-30 19:58
|
只有本站会员才能查看附件,请 登录
Private Sub Command1_Click()
CommonDialog1.DialogTitle = "选择路径"
CommonDialog1.ShowOpen
Label1.Caption = CommonDialog1.FileName
End Sub
Private Sub Command2_Click()
Open "c:\a.txt" For Output As #1
Print #1, Label1.Caption
Close #1
End Sub
Private Sub Command3_Click()
Open "c:\a.txt" For Input As #1
Line Input #1, Label1.Caption
Close #1
End Sub