Click here to Skip to main content
15,881,882 members
Home / Discussions / C#
   

C#

 
GeneralRe: Threading - Play / pause / stop question Pin
Mirko Jurcevic14-Nov-13 2:33
Mirko Jurcevic14-Nov-13 2:33 
GeneralRe: Threading - Play / pause / stop question Pin
Pete O'Hanlon14-Nov-13 3:02
mvePete O'Hanlon14-Nov-13 3:02 
AnswerRe: Threading - Play / pause / stop question Pin
Ennis Ray Lynch, Jr.14-Nov-13 5:41
Ennis Ray Lynch, Jr.14-Nov-13 5:41 
QuestionConvert Datatable data into Json data in C# Pin
susanna.floora14-Nov-13 1:12
susanna.floora14-Nov-13 1:12 
AnswerRe: Convert Datatable data into Json data in C# Pin
V.14-Nov-13 2:04
professionalV.14-Nov-13 2:04 
AnswerRe: Convert Datatable data into Json data in C# Pin
Richard Deeming14-Nov-13 4:19
mveRichard Deeming14-Nov-13 4:19 
Question[Solved] Windows Service - problem with write file at scheduled time Pin
emma.sun.sts13-Nov-13 20:06
emma.sun.sts13-Nov-13 20:06 
AnswerRe: Windows Service - problem with write file at scheduled time Pin
Bernhard Hiller13-Nov-13 20:56
Bernhard Hiller13-Nov-13 20:56 
Use a full path instead of the filename only, e.g. @"C:\Temp\Import1.txt".
Also, I'd suggest to create a FileStream first, and then write into that stream:
C#
using (FileStream fs = new FileStream(path, FileMode.Create, FileAccess.ReadWrite, FileShare.None))
{
    using (StreamWriter writer = new StreamWriter(fs))
    {
        //write your data here
    }
}

GeneralRe: Windows Service - problem with write file at scheduled time Pin
emma.sun.sts13-Nov-13 21:25
emma.sun.sts13-Nov-13 21:25 
GeneralRe: Windows Service - problem with write file at scheduled time Pin
Bernhard Hiller13-Nov-13 21:29
Bernhard Hiller13-Nov-13 21:29 
GeneralRe: Windows Service - problem with write file at scheduled time Pin
emma.sun.sts13-Nov-13 21:39
emma.sun.sts13-Nov-13 21:39 
GeneralRe: Windows Service - problem with write file at scheduled time Pin
Eddy Vluggen13-Nov-13 21:48
professionalEddy Vluggen13-Nov-13 21:48 
GeneralRe: Windows Service - problem with write file at scheduled time Pin
Pete O'Hanlon14-Nov-13 0:14
mvePete O'Hanlon14-Nov-13 0:14 
Questionread only Pin
seeker6213-Nov-13 8:41
seeker6213-Nov-13 8:41 
SuggestionRe: read only Pin
Richard MacCutchan13-Nov-13 8:56
mveRichard MacCutchan13-Nov-13 8:56 
GeneralRe: read only Pin
seeker6213-Nov-13 9:13
seeker6213-Nov-13 9:13 
GeneralRe: read only Pin
Richard MacCutchan13-Nov-13 9:29
mveRichard MacCutchan13-Nov-13 9:29 
GeneralRe: read only Pin
seeker6213-Nov-13 9:47
seeker6213-Nov-13 9:47 
GeneralRe: read only Pin
Richard MacCutchan13-Nov-13 10:42
mveRichard MacCutchan13-Nov-13 10:42 
GeneralRe: read only Pin
seeker6213-Nov-13 10:49
seeker6213-Nov-13 10:49 
GeneralRe: read only Pin
Richard MacCutchan13-Nov-13 10:57
mveRichard MacCutchan13-Nov-13 10:57 
GeneralRe: read only Pin
Ron Nicholson14-Nov-13 3:24
professionalRon Nicholson14-Nov-13 3:24 
GeneralRe: read only Pin
Nicholas Marty15-Nov-13 4:49
professionalNicholas Marty15-Nov-13 4:49 
AnswerThe system cannot find the file specified for process.start(). Pin
subhendun dan13-Nov-13 4:53
subhendun dan13-Nov-13 4:53 
GeneralRe: The system cannot find the file specified for process.start(). Pin
OriginalGriff13-Nov-13 5:39
mveOriginalGriff13-Nov-13 5:39 

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.