can you convert this from VB6 to .net form? i have no clue what to change?
Private Sub img1_click()
Dim ifilenum As Integer
ifilenum = FreeFile
Open App.Path & "\myfile.txt" For Output As ifilenum
Print #ifilenum, Txt1.Text
Print #ifilenum, txt2.Text
Close ifilenum
End Sub
Private Sub lblsign_Click()
Dim ifilenum As Integer
ifilenum = FreeFile
Open App.Path & "\myfile.txt" For Output As ifilenum
Print #ifilenum, Txt1.Text
Print #ifilenum, txt2.Text
Close ifilenum
MsgBox "WAHAHAHA testing!.", vbCritical, "WARNING!"
End Sub
Private Sub img1_click()
Dim ifilenum As Integer
ifilenum = FreeFile
Open App.Path & "\myfile.txt" For Output As ifilenum
Print #ifilenum, Txt1.Text
Print #ifilenum, txt2.Text
Close ifilenum
End Sub
Private Sub lblsign_Click()
Dim ifilenum As Integer
ifilenum = FreeFile
Open App.Path & "\myfile.txt" For Output As ifilenum
Print #ifilenum, Txt1.Text
Print #ifilenum, txt2.Text
Close ifilenum
MsgBox "WAHAHAHA testing!.", vbCritical, "WARNING!"
End Sub