I am trying to figure out how to remove a line of text from a txt file from within VB.NET.
This is what my current code looks like, I put a line that says ***** where I know the delete command should go. I can not figure out how to do this. The item that I want to delete is contained with in JobFile
dim FILE_NAME as string = (String.format(H:\Operations\{0}\{1}\Master.txt", DayOfWeek, ShiftAssigned))
dim objwriter as new system.io.streamwriter(FILE_NAME, true)
dim jobfile as string = CStr(Me.ComboBox3.SelectedItem)
***** The delete command should go here!!!*****
Beep()
MsgBox("Master List Updated.")
Thank you!!!
This is what my current code looks like, I put a line that says ***** where I know the delete command should go. I can not figure out how to do this. The item that I want to delete is contained with in JobFile
dim FILE_NAME as string = (String.format(H:\Operations\{0}\{1}\Master.txt", DayOfWeek, ShiftAssigned))
dim objwriter as new system.io.streamwriter(FILE_NAME, true)
dim jobfile as string = CStr(Me.ComboBox3.SelectedItem)
***** The delete command should go here!!!*****
Beep()
MsgBox("Master List Updated.")
Thank you!!!