18-03-20 05:54 AM
Answered! Go to Answer.
18-03-20 08:23 AM
Try If String.IsNullOrEmpty(Encode) Then File.WriteAllText(File_Name, Text) Else File.WriteAllText(File_Name, Text, System.Text.Encoding.GetEncoding(Encode)) End If Success = True Message = "" Catch e As Exception Success = False Message = e.Message End Try
18-03-20 08:23 AM
Try If String.IsNullOrEmpty(Encode) Then File.WriteAllText(File_Name, Text) Else File.WriteAllText(File_Name, Text, System.Text.Encoding.GetEncoding(Encode)) End If Success = True Message = "" Catch e As Exception Success = False Message = e.Message End Try
19-03-20 01:25 AM
26-03-20 08:18 AM
26-03-20 09:00 AM
Try Dim enc As System.Text.Encoding = New System.Text.UTF8Encoding(True) File.WriteAllText(File_Name, Text, enc) Success = True Message = "" Catch e As Exception Success = False Message = e.Message End Try