Click here to Skip to main content
15,884,986 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# compiler expand our code? Pin
George_George1-May-08 3:45
George_George1-May-08 3:45 
GeneralRe: C# compiler expand our code? Pin
Christian Graus1-May-08 3:55
protectorChristian Graus1-May-08 3:55 
GeneralRe: C# compiler expand our code? Pin
George_George1-May-08 4:08
George_George1-May-08 4:08 
GeneralRe: C# compiler expand our code? Pin
Simon P Stevens1-May-08 4:49
Simon P Stevens1-May-08 4:49 
GeneralRe: C# compiler expand our code? Pin
George_George1-May-08 20:34
George_George1-May-08 20:34 
GeneralRe: C# compiler expand our code? Pin
Simon P Stevens2-May-08 9:37
Simon P Stevens2-May-08 9:37 
GeneralRe: C# compiler expand our code? Pin
George_George2-May-08 21:26
George_George2-May-08 21:26 
QuestionHelp on Writing Image Information(Location/Descriptions) to a txtfile Pin
Thomas Toh1-May-08 2:12
Thomas Toh1-May-08 2:12 
// Save the stream to disk
System.IO.FileStream newFile = new System.IO.FileStream(Server.MapPath(sSavePath + sFilename), System.IO.FileMode.Create);
newFile.Write(myData, 0, myData.Length);
newFile.Close();
TextWriter tw = new StreamWriter("d://fyp//images//saved images//info.txt");

// write a line of text to the file
tw.WriteLine("txtFName.txt*txtLName*IDTextBox*" + sSavePath + sFilename);

// close the stream
tw.Close();


on the
TextWriter tw = new StreamWriter("d://fyp//images//saved images//info.txt");
how do i specify the directory so that it will save to /images on my project folder? without specifying the exact location?

also on the
tw.WriteLine("txtFName.txt*txtLName*IDTextBox*" + sSavePath + sFilename);
the result on the notepad is that it writes exactly the same text to the notepad... how do i make it so that i'll save whatever I input onto my textboxes?
AnswerRe: Help on Writing Image Information(Location/Descriptions) to a txtfile Pin
Christian Graus1-May-08 3:18
protectorChristian Graus1-May-08 3:18 
GeneralRe: Help on Writing Image Information(Location/Descriptions) to a txtfile [modified] Pin
Thomas Toh1-May-08 3:42
Thomas Toh1-May-08 3:42 
GeneralRe: Help on Writing Image Information(Location/Descriptions) to a txtfile Pin
Christian Graus1-May-08 3:45
protectorChristian Graus1-May-08 3:45 
AnswerRe: Help on Writing Image Information(Location/Descriptions) to a txtfile Pin
Thomas Toh1-May-08 4:25
Thomas Toh1-May-08 4:25 
QuestionReturn Value Pin
MumbleB1-May-08 1:16
MumbleB1-May-08 1:16 
AnswerRe: Return Value Pin
Anthony Mushrow1-May-08 1:24
professionalAnthony Mushrow1-May-08 1:24 
GeneralRe: Return Value Pin
MumbleB1-May-08 1:41
MumbleB1-May-08 1:41 
GeneralRe: Return Value Pin
Anthony Mushrow1-May-08 1:48
professionalAnthony Mushrow1-May-08 1:48 
GeneralRe: Return Value Pin
Spacix One1-May-08 9:00
Spacix One1-May-08 9:00 
RantRe: Return Value Pin
Spacix One1-May-08 9:39
Spacix One1-May-08 9:39 
Questionconvert date formats [modified] Pin
stephan_0071-May-08 0:14
stephan_0071-May-08 0:14 
AnswerRe: convert date formats Pin
stephan_0071-May-08 0:28
stephan_0071-May-08 0:28 
AnswerRe: convert date formats Pin
PIEBALDconsult1-May-08 9:34
mvePIEBALDconsult1-May-08 9:34 
Questionc# form resize speed Pin
leeoze30-Apr-08 23:44
leeoze30-Apr-08 23:44 
AnswerRe: c# form resize speed Pin
Zoltan Balazs1-May-08 0:43
Zoltan Balazs1-May-08 0:43 
QuestionActive Directory - Null Reference Exception Pin
hobbsieoz30-Apr-08 22:59
hobbsieoz30-Apr-08 22:59 
AnswerRe: Active Directory - Null Reference Exception Pin
Anthony Mushrow1-May-08 0:12
professionalAnthony Mushrow1-May-08 0:12 

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.