hi,
i have coded as below but once the record deleted and when the application write to text file again it gives an error says index was outside the bounds of the array any solution?
Dim stream As New IO.StreamWriter("C:\Documents and Settings\Administrator\Desktop\Bill Payment\BillPaymentRecords.txt", False)
stream.WriteLine("")
stream.Close()
i have coded as below but once the record deleted and when the application write to text file again it gives an error says index was outside the bounds of the array any solution?
Dim stream As New IO.StreamWriter("C:\Documents and Settings\Administrator\Desktop\Bill Payment\BillPaymentRecords.txt", False)
stream.WriteLine("")
stream.Close()