S
sethuganesh
hi,
i am not able to write a text properly in a text file in vb.net.below
is the code that i have written.
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button2.Click
Dim counter As Integer
FileOpen(1, "c:\sample.txt", OpenMode.Random, , , 50)
For Counter = 1 To 5
FilePut(1, "ganesh", counter)
Next Counter
FileClose(1)
End Sub.
The output of the code is " ganesh
ganesh ganesh
ganesh
ganesh"
i am not able to understand why this symbol gets displayed "".is there
any solution for this ?
Thanks,
Ganesh
i am not able to write a text properly in a text file in vb.net.below
is the code that i have written.
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button2.Click
Dim counter As Integer
FileOpen(1, "c:\sample.txt", OpenMode.Random, , , 50)
For Counter = 1 To 5
FilePut(1, "ganesh", counter)
Next Counter
FileClose(1)
End Sub.
The output of the code is " ganesh
ganesh ganesh
ganesh
ganesh"
i am not able to understand why this symbol gets displayed "".is there
any solution for this ?
Thanks,
Ganesh