Click here to Skip to main content
15,897,334 members
Home / Discussions / C#
   

C#

 
AnswerRe: Shutdown PC Pin
Mohammad Dayyan11-Sep-09 9:29
Mohammad Dayyan11-Sep-09 9:29 
AnswerRe: Shutdown PC Pin
Mohammad Dayyan11-Sep-09 9:29
Mohammad Dayyan11-Sep-09 9:29 
QuestionHow to retrieve attribute of type Time without time zone from postgreSQL? Pin
Kranti125198425-Apr-06 19:09
Kranti125198425-Apr-06 19:09 
QuestionAssigning values to RecordNumber in Crystal reports Pin
q2sampath25-Apr-06 18:06
q2sampath25-Apr-06 18:06 
Questioncode for detecting an IP address Pin
raniam25-Apr-06 14:13
raniam25-Apr-06 14:13 
AnswerRe: code for detecting an IP address Pin
Graham Nimbley25-Apr-06 15:03
Graham Nimbley25-Apr-06 15:03 
Questionbitmap from a Graphics object Pin
likefood25-Apr-06 13:28
likefood25-Apr-06 13:28 
AnswerRe: bitmap from a Graphics object Pin
Graham Nimbley25-Apr-06 13:57
Graham Nimbley25-Apr-06 13:57 
GeneralRe: bitmap from a Graphics object Pin
likefood25-Apr-06 14:00
likefood25-Apr-06 14:00 
AnswerRe: bitmap from a Graphics object Pin
Robert Rohde25-Apr-06 18:16
Robert Rohde25-Apr-06 18:16 
GeneralRe: bitmap from a Graphics object Pin
likefood26-Apr-06 6:54
likefood26-Apr-06 6:54 
GeneralRe: bitmap from a Graphics object Pin
Robert Rohde26-Apr-06 8:03
Robert Rohde26-Apr-06 8:03 
GeneralRe: bitmap from a Graphics object Pin
likefood26-Apr-06 11:05
likefood26-Apr-06 11:05 
QuestionFile Copy Problem (C# Newb) Pin
teejayem25-Apr-06 12:44
teejayem25-Apr-06 12:44 
AnswerRe: File Copy Problem (C# Newb) Pin
Graham Nimbley25-Apr-06 13:21
Graham Nimbley25-Apr-06 13:21 
GeneralRe: File Copy Problem (C# Newb) Pin
teejayem25-Apr-06 13:29
teejayem25-Apr-06 13:29 
AnswerRe: File Copy Problem (C# Newb) Pin
Guffa25-Apr-06 13:23
Guffa25-Apr-06 13:23 
Take a look at these two lines:

string path = textbox1.text<br />
string path = textbox2.text


You can't create two variables with the same name, so obviously this is not the code that you are actually using.

Assuming the rest of the code is at least reasonably similar to the one that you are using:

You create a new file but you are not writing anything to it. Of course the length of the file will be zero.

---
b { font-weight: normal; }

GeneralRe: File Copy Problem (C# Newb) Pin
teejayem25-Apr-06 13:31
teejayem25-Apr-06 13:31 
Questionsum up values in DataTable Pin
kani9825-Apr-06 11:34
kani9825-Apr-06 11:34 
AnswerRe: sum up values in DataTable Pin
Robert Rohde25-Apr-06 19:52
Robert Rohde25-Apr-06 19:52 
GeneralRe: sum up values in DataTable Pin
kani9826-Apr-06 5:13
kani9826-Apr-06 5:13 
QuestionChange textbox to listbox at runtime Pin
oracleConvert25-Apr-06 10:03
oracleConvert25-Apr-06 10:03 
AnswerRe: Change textbox to listbox at runtime Pin
Christian Graus25-Apr-06 10:08
protectorChristian Graus25-Apr-06 10:08 
GeneralRe: Change textbox to listbox at runtime Pin
oracleConvert27-Apr-06 7:03
oracleConvert27-Apr-06 7:03 
GeneralRe: Change textbox to listbox at runtime Pin
Christian Graus27-Apr-06 10:53
protectorChristian Graus27-Apr-06 10:53 

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.