Click here to Skip to main content
15,915,324 members
Home / Discussions / C#
   

C#

 
QuestionA Question - File Monitoring Pin
gunner_uk200010-Nov-07 0:57
gunner_uk200010-Nov-07 0:57 
AnswerRe: A Question - File Monitoring Pin
Colin Angus Mackay10-Nov-07 1:07
Colin Angus Mackay10-Nov-07 1:07 
QuestionPROBLEM IN SAVING Pin
Sunil Wise10-Nov-07 0:34
professionalSunil Wise10-Nov-07 0:34 
AnswerRe: PROBLEM IN SAVING Pin
Colin Angus Mackay10-Nov-07 0:49
Colin Angus Mackay10-Nov-07 0:49 
GeneralRe: PROBLEM IN SAVING Pin
Sunil Wise10-Nov-07 1:11
professionalSunil Wise10-Nov-07 1:11 
GeneralRe: PROBLEM IN SAVING Pin
Colin Angus Mackay10-Nov-07 1:20
Colin Angus Mackay10-Nov-07 1:20 
GeneralRe: PROBLEM IN SAVING Pin
Paul Conrad10-Nov-07 3:17
professionalPaul Conrad10-Nov-07 3:17 
Questionfilesystem Pin
Sunil Wise9-Nov-07 23:34
professionalSunil Wise9-Nov-07 23:34 
protected void btnSubmit_Click(object sender, EventArgs e)
{
try
{
FileInfo TheFile = new FileInfo(MapPath(".") + "\\" + txtOldFile.Text);
if (TheFile.Exists)
{
File.Move(MapPath(".") + "\\" + txtOldFile.Text,MapPath(".") + "\\" + txtNewFile.Text);
}
the above is my code for renaming the file in my application its working fine, but what i want is i want to keep my original file as it is and create another file with same content in it with different name
valid suggestions are appriciated

thanks in advance

regards
sunilwise
AnswerRe: filesystem Pin
Guffa9-Nov-07 23:54
Guffa9-Nov-07 23:54 
GeneralRe: filesystem Pin
Sunil Wise9-Nov-07 23:59
professionalSunil Wise9-Nov-07 23:59 
QuestionFilling a typed dataset with multiple tables Pin
steve_rm9-Nov-07 22:59
steve_rm9-Nov-07 22:59 
AnswerRe: Filling a typed dataset with multiple tables Pin
Paul Conrad10-Nov-07 4:37
professionalPaul Conrad10-Nov-07 4:37 
QuestionRe: Filling a typed dataset with multiple tables Pin
steve_rm10-Nov-07 6:13
steve_rm10-Nov-07 6:13 
AnswerRe: Filling a typed dataset with multiple tables Pin
Paul Conrad10-Nov-07 6:38
professionalPaul Conrad10-Nov-07 6:38 
QuestionDynamically Printing a bitmap image Pin
sindhutiwari9-Nov-07 22:57
sindhutiwari9-Nov-07 22:57 
AnswerRe: Dynamically Printing a bitmap image Pin
Matthew Butler10-Nov-07 1:37
Matthew Butler10-Nov-07 1:37 
QuestionSqlNotificationRequest Problem. Pin
hdv2129-Nov-07 21:51
hdv2129-Nov-07 21:51 
AnswerRe: SqlNotificationRequest Problem. Pin
sindhutiwari10-Nov-07 0:30
sindhutiwari10-Nov-07 0:30 
QuestionNow it is Official... I need help! Pin
kingletas9-Nov-07 20:22
kingletas9-Nov-07 20:22 
AnswerRe: Now it is Official... I need help! Pin
Christian Graus9-Nov-07 22:01
protectorChristian Graus9-Nov-07 22:01 
GeneralRe: Now it is Official... I need help! Pin
kingletas9-Nov-07 22:14
kingletas9-Nov-07 22:14 
GeneralRe: Now it is Official... I need help! Pin
Christian Graus9-Nov-07 22:20
protectorChristian Graus9-Nov-07 22:20 
GeneralRe: Now it is Official... I need help! Pin
Paul Conrad10-Nov-07 3:18
professionalPaul Conrad10-Nov-07 3:18 
GeneralRe: Now it is Official... I need help! Pin
kingletas10-Nov-07 15:34
kingletas10-Nov-07 15:34 
GeneralRe: Now it is Official... I need help! Pin
Paul Conrad10-Nov-07 16:10
professionalPaul Conrad10-Nov-07 16:10 

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.