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

C#

 
Questioncheckbox in headertemplate Pin
ayyp23-May-06 2:30
ayyp23-May-06 2:30 
QuestionLink Color in Richtext box - URGENT Pin
Linda Thomas23-May-06 2:12
Linda Thomas23-May-06 2:12 
QuestionDatabase delete [modified] Pin
drc_no123-May-06 1:35
drc_no123-May-06 1:35 
AnswerRe: Database delete [modified] Pin
RC_Sebastien_C23-May-06 1:44
RC_Sebastien_C23-May-06 1:44 
GeneralRe: Database delete [modified] Pin
drc_no123-May-06 2:17
drc_no123-May-06 2:17 
AnswerRe: Database delete [modified] Pin
S. Senthil Kumar23-May-06 2:09
S. Senthil Kumar23-May-06 2:09 
GeneralRe: Database delete [modified] Pin
RC_Sebastien_C23-May-06 4:38
RC_Sebastien_C23-May-06 4:38 
QuestionFile deletion in C# Pin
gubber23-May-06 1:00
gubber23-May-06 1:00 
Hi,

I'm trying to manipulate files in a C# program, when I delete a file however I run in to problems. It seems the file isn't really deleted until my application exits. I've tried it through File.Delete() and FileInfo.Delete(), and it seems to make no difference.

The problem comes when after I have deleted the file I rescan the folder using Directory.GetFiles() and the "deleted" file is still there, except I can't read it.

Do I need to somehow flush my file deletion??

Thanks in advance.
AnswerRe: File deletion in C# Pin
SeMartens23-May-06 1:39
SeMartens23-May-06 1:39 
GeneralRe: File deletion in C# Pin
gubber23-May-06 1:46
gubber23-May-06 1:46 
QuestionSorting Array of objects Pin
Rizwan Rathore22-May-06 23:37
Rizwan Rathore22-May-06 23:37 
AnswerRe: Sorting Array of objects Pin
User 665822-May-06 23:48
User 665822-May-06 23:48 
GeneralRe: Sorting Array of objects Pin
Rizwan Rathore23-May-06 1:02
Rizwan Rathore23-May-06 1:02 
GeneralRe: Sorting Array of objects Pin
Robert Rohde23-May-06 1:25
Robert Rohde23-May-06 1:25 
GeneralRe: Sorting Array of objects [modified] Pin
Rizwan Rathore23-May-06 5:57
Rizwan Rathore23-May-06 5:57 
GeneralRe: Sorting Array of objects [modified] Pin
Robert Rohde23-May-06 7:43
Robert Rohde23-May-06 7:43 
GeneralRe: Sorting Array of objects [modified] Pin
Rizwan Rathore23-May-06 14:29
Rizwan Rathore23-May-06 14:29 
GeneralRe: Sorting Array of objects [modified] Pin
Robert Rohde23-May-06 19:44
Robert Rohde23-May-06 19:44 
GeneralRe: Sorting Array of objects [modified] Pin
Rizwan Rathore23-May-06 22:09
Rizwan Rathore23-May-06 22:09 
GeneralRe: Sorting Array of objects [modified] Pin
Robert Rohde23-May-06 22:24
Robert Rohde23-May-06 22:24 
GeneralRe: Sorting Array of objects [modified] Pin
Rizwan Rathore23-May-06 23:05
Rizwan Rathore23-May-06 23:05 
GeneralRe: Sorting Array of objects [modified] Pin
Robert Rohde23-May-06 23:13
Robert Rohde23-May-06 23:13 
GeneralRe: Sorting Array of objects [modified] Pin
Rizwan Rathore23-May-06 23:40
Rizwan Rathore23-May-06 23:40 
GeneralRe: Sorting Array of objects [modified] Pin
Robert Rohde24-May-06 0:12
Robert Rohde24-May-06 0:12 
GeneralRe: Sorting Array of objects [modified] Pin
Rizwan Rathore24-May-06 0:54
Rizwan Rathore24-May-06 0:54 

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.