m.javvi
پنج شنبه 19 فروردین 1389, 20:05 عصر
با سلام
این کدزیر به زبان vb6 است میشه اون رو به vb2008 تبدبل کنید
Private Sub Command1_Click()
Open "f:\test.txt" For Output As #1
a = InputBox("enter anme")
Print #1, a
Label1.Caption = a
Close
End Sub
Private Sub Form_load()
Open "f:\test.txt" For Input As #1
Input #1, a
Label1.Caption = a
Close
End Sub
این کدزیر به زبان vb6 است میشه اون رو به vb2008 تبدبل کنید
Private Sub Command1_Click()
Open "f:\test.txt" For Output As #1
a = InputBox("enter anme")
Print #1, a
Label1.Caption = a
Close
End Sub
Private Sub Form_load()
Open "f:\test.txt" For Input As #1
Input #1, a
Label1.Caption = a
Close
End Sub