Click here to Skip to main content
15,905,323 members
Home / Discussions / C#
   

C#

 
AnswerRe: What control can add pictures and text horizontally ? Pin
xiecsuk10-Mar-17 0:01
xiecsuk10-Mar-17 0:01 
AnswerRe: What control can add pictures and text horizontally ? Pin
Gerry Schmitz10-Mar-17 5:53
mveGerry Schmitz10-Mar-17 5:53 
GeneralRe: What control can add pictures and text horizontally ? Pin
Member 245846712-Mar-17 18:26
Member 245846712-Mar-17 18:26 
GeneralRe: What control can add pictures and text horizontally ? Pin
Pete O'Hanlon12-Mar-17 21:23
mvePete O'Hanlon12-Mar-17 21:23 
GeneralRe: What control can add pictures and text horizontally ? Pin
Eddy Vluggen13-Mar-17 1:51
professionalEddy Vluggen13-Mar-17 1:51 
Questionc# out parameter must be assigned.... I don't see the logic [solved] Pin
User 110609799-Mar-17 8:48
User 110609799-Mar-17 8:48 
AnswerRe: c# out parameter must be assigned.... I don't see the logic Pin
Richard Deeming9-Mar-17 10:35
mveRichard Deeming9-Mar-17 10:35 
GeneralRe: c# out parameter must be assigned.... I don't see the logic Pin
User 110609799-Mar-17 10:38
User 110609799-Mar-17 10:38 
GeneralRe: c# out parameter must be assigned.... I don't see the logic Pin
User 110609799-Mar-17 20:28
User 110609799-Mar-17 20:28 
AnswerRe: c# out parameter must be assigned.... I don't see the logic Pin
Ralf Meier9-Mar-17 21:14
mveRalf Meier9-Mar-17 21:14 
GeneralRe: c# out parameter must be assigned.... I don't see the logic Pin
Richard MacCutchan9-Mar-17 21:19
mveRichard MacCutchan9-Mar-17 21:19 
GeneralRe: c# out parameter must be assigned.... I don't see the logic Pin
Pete O'Hanlon9-Mar-17 21:21
mvePete O'Hanlon9-Mar-17 21:21 
GeneralRe: c# out parameter must be assigned.... I don't see the logic Pin
User 1106097910-Mar-17 9:26
User 1106097910-Mar-17 9:26 
GeneralRe: c# out parameter must be assigned.... I don't see the logic Pin
Pete O'Hanlon10-Mar-17 10:41
mvePete O'Hanlon10-Mar-17 10:41 
GeneralRe: c# out parameter must be assigned.... I don't see the logic Pin
User 1106097910-Mar-17 10:47
User 1106097910-Mar-17 10:47 
GeneralRe: c# out parameter must be assigned.... I don't see the logic Pin
Eddy Vluggen10-Mar-17 12:23
professionalEddy Vluggen10-Mar-17 12:23 
QuestionCounter not updating file Pin
xiecsuk9-Mar-17 5:34
xiecsuk9-Mar-17 5:34 
AnswerRe: Counter not updating file Pin
Midi_Mick9-Mar-17 5:59
professionalMidi_Mick9-Mar-17 5:59 
GeneralRe: Counter not updating file Pin
xiecsuk10-Mar-17 0:06
xiecsuk10-Mar-17 0:06 
GeneralRe: Counter not updating file Pin
Midi_Mick10-Mar-17 0:25
professionalMidi_Mick10-Mar-17 0:25 
GeneralRe: Counter not updating file Pin
xiecsuk10-Mar-17 1:22
xiecsuk10-Mar-17 1:22 
GeneralRe: Counter not updating file Pin
Richard Deeming10-Mar-17 1:45
mveRichard Deeming10-Mar-17 1:45 
GeneralRe: Counter not updating file Pin
xiecsuk10-Mar-17 3:53
xiecsuk10-Mar-17 3:53 
I have replaced my code with your code exactly as in your message and I get the following error message:
An exception of type 'System.ObjectDisposedException' occurred in System.IO.FileSystem.dll but was not handled in user code

Additional information: Cannot access a closed file.
This occurs on the line counterStream.Seek(0L, SeekOrigin.Begin);. Perhaps this is why my code is not updating the file. Somehow, it also thinks it's closed after the update of visits.

visits has been read and incremented correctly in your code.
GeneralRe: Counter not updating file Pin
Richard Deeming10-Mar-17 4:00
mveRichard Deeming10-Mar-17 4:00 
GeneralRe: Counter not updating file Pin
xiecsuk10-Mar-17 4:31
xiecsuk10-Mar-17 4:31 

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.