I want to show the error occured, date, error description in a text file.
Following is vb code. Can any one tell me how to write it in vb.net????
Open App.Path & "\ErrorLog" & Replace(Date, "/", "_") & ".txt" For Append As #1
Write #1, "Error in News update Exe:- Form Load Function ---" & Err.Description & "---" & Time
Write #1, "--------------------------------"
Close #1
:'(