Click here to Skip to main content
15,914,165 members
Home / Discussions / C#
   

C#

 
Question[Message Deleted] Pin
sridhar88725-Feb-09 18:03
sridhar88725-Feb-09 18:03 
AnswerRe: How to solve APPLICATION.EXE ERROR in C#.NET??? Pin
Christian Graus25-Feb-09 18:09
protectorChristian Graus25-Feb-09 18:09 
JokeRe: How to solve APPLICATION.EXE ERROR in C#.NET??? Pin
Xmen Real 25-Feb-09 20:06
professional Xmen Real 25-Feb-09 20:06 
QuestionParse SQL code in C# Pin
aaCog25-Feb-09 17:21
aaCog25-Feb-09 17:21 
AnswerRe: Parse SQL code in C# Pin
N a v a n e e t h25-Feb-09 17:32
N a v a n e e t h25-Feb-09 17:32 
Question[Message Deleted] Pin
yesu prakash25-Feb-09 16:47
yesu prakash25-Feb-09 16:47 
AnswerRe: Voice conference Pin
N a v a n e e t h25-Feb-09 17:05
N a v a n e e t h25-Feb-09 17:05 
GeneralRe: Voice conference Pin
Christian Graus25-Feb-09 18:10
protectorChristian Graus25-Feb-09 18:10 
General[Message Deleted] Pin
yesu prakash25-Feb-09 18:27
yesu prakash25-Feb-09 18:27 
GeneralRe: Voice conference Pin
Christian Graus25-Feb-09 18:51
protectorChristian Graus25-Feb-09 18:51 
GeneralRe: Voice conference Pin
yesu prakash25-Feb-09 19:28
yesu prakash25-Feb-09 19:28 
GeneralRe: Voice conference Pin
N a v a n e e t h25-Feb-09 21:05
N a v a n e e t h25-Feb-09 21:05 
GeneralRe: Voice conference Pin
yesu prakash27-Feb-09 1:38
yesu prakash27-Feb-09 1:38 
AnswerRe: [Message Deleted] Pin
yesu prakash26-Feb-09 23:52
yesu prakash26-Feb-09 23:52 
Questionview .doc file in the same format Pin
devinaren25-Feb-09 15:38
devinaren25-Feb-09 15:38 
AnswerRe: view .doc file in the same format Pin
Avi Farah25-Feb-09 16:38
Avi Farah25-Feb-09 16:38 
AnswerRe: view .doc file in the same format Pin
Christian Graus25-Feb-09 18:11
protectorChristian Graus25-Feb-09 18:11 
Questionindex += 1 equals index + 2 ? [modified] Pin
Lodeclaw25-Feb-09 11:59
Lodeclaw25-Feb-09 11:59 
AnswerRe: index += 1 equals index + 2 ? Pin
Lodeclaw25-Feb-09 12:19
Lodeclaw25-Feb-09 12:19 
GeneralRe: index += 1 equals index + 2 ? Pin
Calin Tatar25-Feb-09 12:24
Calin Tatar25-Feb-09 12:24 
GeneralRe: index += 1 equals index + 2 ? Pin
Lodeclaw25-Feb-09 12:25
Lodeclaw25-Feb-09 12:25 
QuestionTransfer a txt file Pin
bar300025-Feb-09 11:05
bar300025-Feb-09 11:05 
Hi,
I am trying to transfer a txt file by loading it and saving it with a save file dialog.
SaveFileDialog saveDialog = new SaveFileDialog();
          saveDialog.AddExtension = true;
          saveDialog.FileName = "Checkers Game";
          saveDialog.InitialDirectory = @"C:\Documents and Settings\Bar\My Documents\";
          saveDialog.OverwritePrompt = true;
          saveDialog.Title = "Save game";
          saveDialog.ValidateNames = true;
          saveDialog.ShowDialog();
          if (saveDialog.FileName != "")
          {
              writer.Close();
              file.Close();
              FileStream fs = new FileStream(@"C:\Documents and Settings\Bar\My Documents\savegame.txt", FileMode.Open);
              fs = (System.IO.FileStream)saveDialog.OpenFile();

          }

but when i go to the saved file i get an empty file even though the text i loaded isn't empty.
ThanksSmile | :)
AnswerRe: Transfer a txt file Pin
Alan Balkany25-Feb-09 11:18
Alan Balkany25-Feb-09 11:18 
GeneralRe: Transfer a txt file Pin
bar300025-Feb-09 11:28
bar300025-Feb-09 11:28 
AnswerRe: Transfer a txt file Pin
Christian Graus25-Feb-09 11:27
protectorChristian Graus25-Feb-09 11:27 

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.