Click here to Skip to main content
15,867,962 members
Home / Discussions / C#
   

C#

 
GeneralRe: Weird problem with Custom StreamReader with Read override not reading correct number of bytes during base method call Pin
pr1mem0ver16-Nov-20 15:10
pr1mem0ver16-Nov-20 15:10 
AnswerRe: Weird problem with Custom StreamReader with Read override not reading correct number of bytes during base method call Pin
Richard Deeming8-Nov-20 21:39
mveRichard Deeming8-Nov-20 21:39 
GeneralRe: Weird problem with Custom StreamReader with Read override not reading correct number of bytes during base method call Pin
pr1mem0ver16-Nov-20 15:06
pr1mem0ver16-Nov-20 15:06 
QuestionSystem.IO.File.WriteAllLines exception Pin
_Flaviu5-Nov-20 23:52
_Flaviu5-Nov-20 23:52 
AnswerRe: System.IO.File.WriteAllLines exception Pin
Richard MacCutchan6-Nov-20 0:01
mveRichard MacCutchan6-Nov-20 0:01 
AnswerRe: System.IO.File.WriteAllLines exception Pin
OriginalGriff6-Nov-20 0:18
mveOriginalGriff6-Nov-20 0:18 
GeneralRe: System.IO.File.WriteAllLines exception Pin
_Flaviu6-Nov-20 2:33
_Flaviu6-Nov-20 2:33 
AnswerRe: System.IO.File.WriteAllLines exception Pin
Richard MacCutchan6-Nov-20 5:21
mveRichard MacCutchan6-Nov-20 5:21 
I don't know what happened to the reply you sent to me, so I reproduce it below:
Quote:
Believe me I have tried a lot of combination (e.g. "D:\\tempx\\" or "d:\\tempx"), the same result.

It seems to me you are confused between directory names and file names. You cannot use Write of any sort to write into a directory, you must use a proper file name. So something like "E:\\mytextfile.txt", "D:\\tempx\\mytextfile.txt", is what is needed.
GeneralRe: System.IO.File.WriteAllLines exception Pin
_Flaviu7-Nov-20 21:08
_Flaviu7-Nov-20 21:08 
QuestionHow to extract part of HTML source? Pin
Member 5697394-Nov-20 7:53
Member 5697394-Nov-20 7:53 
AnswerRe: How to extract part of HTML source? Pin
OriginalGriff4-Nov-20 8:37
mveOriginalGriff4-Nov-20 8:37 
GeneralRe: How to extract part of HTML source? Pin
Member 5697394-Nov-20 9:12
Member 5697394-Nov-20 9:12 
AnswerRe: How to extract part of HTML source? Pin
Richard Andrew x644-Nov-20 14:11
professionalRichard Andrew x644-Nov-20 14:11 
AnswerRe: How to extract part of HTML source? Pin
DerekT-P4-Nov-20 23:29
professionalDerekT-P4-Nov-20 23:29 
GeneralRe: How to extract part of HTML source? Pin
Richard Deeming4-Nov-20 23:36
mveRichard Deeming4-Nov-20 23:36 
GeneralRe: How to extract part of HTML source? Pin
DerekT-P5-Nov-20 0:26
professionalDerekT-P5-Nov-20 0:26 
GeneralRe: How to extract part of HTML source? Pin
Member 5697395-Nov-20 3:56
Member 5697395-Nov-20 3:56 
QuestionHow to switch the whole DataGridView Left-To-right? Pin
Alex Dunlop4-Nov-20 7:46
Alex Dunlop4-Nov-20 7:46 
AnswerRe: How to switch the whole DataGridView Left-To-right? Pin
BillWoodruff4-Nov-20 14:21
professionalBillWoodruff4-Nov-20 14:21 
AnswerRe: How to switch the whole DataGridView Left-To-right? Pin
Mycroft Holmes5-Nov-20 10:50
professionalMycroft Holmes5-Nov-20 10:50 
QuestionMoving VS 2019 solution from on-premise to cloud Pin
Member 144746074-Nov-20 7:27
Member 144746074-Nov-20 7:27 
AnswerRe: Moving VS 2019 solution from on-premise to cloud Pin
Richard Andrew x644-Nov-20 14:05
professionalRichard Andrew x644-Nov-20 14:05 
QuestionWinForm - Localize DataGridView with automatical generated columns Pin
Mc_Topaz3-Nov-20 23:08
Mc_Topaz3-Nov-20 23:08 
AnswerRe: WinForm - Localize DataGridView with automatical generated columns Pin
BillWoodruff4-Nov-20 2:35
professionalBillWoodruff4-Nov-20 2:35 
QuestionCsharp InTheHand.Net read bluetooth data on received event Pin
nowis773-Nov-20 8:07
nowis773-Nov-20 8:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.