Click here to Skip to main content
15,907,392 members
Home / Discussions / C#
   

C#

 
GeneralRe: published c# application cannot start Pin
emma.sun.sts23-Feb-14 14:00
emma.sun.sts23-Feb-14 14:00 
QuestionHow to make POS payments to bank? Pin
Member 1059798819-Feb-14 15:13
Member 1059798819-Feb-14 15:13 
AnswerRe: How to make POS payments to bank? Pin
Dave Kreskowiak19-Feb-14 16:40
mveDave Kreskowiak19-Feb-14 16:40 
AnswerRe: How to make POS payments to bank? Pin
OriginalGriff19-Feb-14 21:09
mveOriginalGriff19-Feb-14 21:09 
GeneralMessage Closed Pin
20-Feb-14 0:49
professionalJubayer Ahmed20-Feb-14 0:49 
GeneralRe: How to make POS payments to bank? Pin
Eddy Vluggen20-Feb-14 4:58
professionalEddy Vluggen20-Feb-14 4:58 
GeneralMessage Closed Pin
20-Feb-14 8:51
professionalJubayer Ahmed20-Feb-14 8:51 
GeneralRe: How to make POS payments to bank? Pin
Eddy Vluggen20-Feb-14 22:30
professionalEddy Vluggen20-Feb-14 22:30 
AnswerRe: How to make POS payments to bank? Pin
jschell20-Feb-14 8:38
jschell20-Feb-14 8:38 
QuestionHow to read and write xml attributes Pin
daddy35619-Feb-14 12:02
daddy35619-Feb-14 12:02 
QuestionRe: How to read and write xml attributes Pin
Matt T Heffron19-Feb-14 12:39
professionalMatt T Heffron19-Feb-14 12:39 
AnswerRe: How to read and write xml attributes Pin
daddy35619-Feb-14 15:41
daddy35619-Feb-14 15:41 
GeneralRe: How to read and write xml attributes Pin
Peter Leow19-Feb-14 13:21
professionalPeter Leow19-Feb-14 13:21 
QuestionPdf Converter in Shared Add-in Pin
Member 1059193119-Feb-14 4:01
Member 1059193119-Feb-14 4:01 
AnswerRe: Pdf Converter in Shared Add-in Pin
Eddy Vluggen19-Feb-14 8:15
professionalEddy Vluggen19-Feb-14 8:15 
QuestionBackslash issue Pin
Ashfaque Hussain19-Feb-14 1:41
Ashfaque Hussain19-Feb-14 1:41 
AnswerRe: Backslash issue Pin
BotCar19-Feb-14 2:13
BotCar19-Feb-14 2:13 
AnswerRe: Backslash issue Pin
Richard MacCutchan19-Feb-14 2:55
mveRichard MacCutchan19-Feb-14 2:55 
AnswerRe: Backslash issue Pin
Simon_Whale19-Feb-14 4:44
Simon_Whale19-Feb-14 4:44 
AnswerRe: Backslash issue Pin
OriginalGriff19-Feb-14 8:31
mveOriginalGriff19-Feb-14 8:31 
QuestionOutOfMemoryException Pin
computerpublic18-Feb-14 23:00
computerpublic18-Feb-14 23:00 
AnswerRe: OutOfMemoryException Pin
Richard MacCutchan18-Feb-14 23:41
mveRichard MacCutchan18-Feb-14 23:41 
AnswerRe: OutOfMemoryException Pin
V.18-Feb-14 23:42
professionalV.18-Feb-14 23:42 
See the BinaryReader[^] and BinaryWriter[^] classes.

They can read/write files in chuncks.
If your file is a text file, see the StreamReader and StreamWriter classes instead.

.Net is limited to 2Gb for an object if I'm not mistaken. That might be the reason. ReadAllBytes does what it says: It reads ALL the bytes, so for large files, this could be an issue.

Hope this helps.
V.

(MQOTD rules and previous solutions)

OriginalGriff wrote:
V is absolutely right

GeneralRe: OutOfMemoryException Pin
computerpublic18-Feb-14 23:59
computerpublic18-Feb-14 23:59 
GeneralRe: OutOfMemoryException Pin
V.19-Feb-14 0:03
professionalV.19-Feb-14 0:03 

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.