Click here to Skip to main content
15,916,835 members
Home / Discussions / C#
   

C#

 
AnswerRe: Rename folder Pin
Moreno Airoldi19-May-09 10:21
Moreno Airoldi19-May-09 10:21 
AnswerRe: Rename folder Pin
Dave Kreskowiak19-May-09 10:25
mveDave Kreskowiak19-May-09 10:25 
GeneralRe: Rename folder [modified] Pin
netJP12L19-May-09 10:42
netJP12L19-May-09 10:42 
GeneralRe: Rename folder Pin
Moreno Airoldi19-May-09 11:00
Moreno Airoldi19-May-09 11:00 
GeneralRe: Rename folder Pin
netJP12L19-May-09 11:09
netJP12L19-May-09 11:09 
GeneralRe: Rename folder Pin
Eddy Vluggen19-May-09 12:10
professionalEddy Vluggen19-May-09 12:10 
GeneralRe: Rename folder Pin
Moreno Airoldi19-May-09 21:37
Moreno Airoldi19-May-09 21:37 
GeneralRe: Rename folder Pin
Dave Kreskowiak19-May-09 11:05
mveDave Kreskowiak19-May-09 11:05 
The OpenFileDialog is using whatever path it's showing as the "Current Directory", and locks this path while the dialog is active. You can't rename any folder along this path until the dialog is dismissed.

You'll also see this issue if there is a command prompt open. If it's, say, sitting in the path C:\TopFolder\SubFolder\SubFolder2, you can't rename or delete any folder in that path.

Also, do NOT call GC.Collect. You'll just end up screwing up the GC's internal self-tuning algorithm.


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008




GeneralRe: Rename folder Pin
netJP12L19-May-09 11:22
netJP12L19-May-09 11:22 
GeneralRe: Rename folder Pin
Luc Pattyn19-May-09 13:55
sitebuilderLuc Pattyn19-May-09 13:55 
QuestionUmm...wow...request from one of our IBM guys - He needs to send an EBCDIC blob(not converted to ASCII) to be consumed directly by a C# app Pin
Alaric_19-May-09 9:25
professionalAlaric_19-May-09 9:25 
GeneralRe: Umm...wow...request from one of our IBM guys [modified] Pin
led mike19-May-09 10:02
led mike19-May-09 10:02 
GeneralRe: Umm...wow...request from one of our IBM guys Pin
Alaric_19-May-09 10:20
professionalAlaric_19-May-09 10:20 
GeneralRe: Umm...wow...request from one of our IBM guys Pin
led mike19-May-09 11:54
led mike19-May-09 11:54 
AnswerRe: Umm...wow...request from one of our IBM guys - He needs to send an EBCDIC blob(not converted to ASCII) to be consumed directly by a C# app Pin
Luc Pattyn19-May-09 14:07
sitebuilderLuc Pattyn19-May-09 14:07 
AnswerRe: Umm...wow...request from one of our IBM guys - He needs to send an EBCDIC blob(not converted to ASCII) to be consumed directly by a C# app Pin
PIEBALDconsult19-May-09 15:20
mvePIEBALDconsult19-May-09 15:20 
AnswerRe: Umm...wow...request from one of our IBM guys - He needs to send an EBCDIC blob(not converted to ASCII) to be consumed directly by a C# app Pin
Moreno Airoldi20-May-09 1:05
Moreno Airoldi20-May-09 1:05 
QuestionWeb file download from C# console application gets 401 Pin
Mike Devenney19-May-09 9:22
Mike Devenney19-May-09 9:22 
AnswerRe: Web file download from C# console application gets 401 Pin
led mike19-May-09 10:13
led mike19-May-09 10:13 
AnswerRe: Web file download from C# console application gets 401 Pin
Noctris19-May-09 10:25
Noctris19-May-09 10:25 
GeneralRe: Web file download from C# console application gets 401 Pin
Baeltazor19-May-09 17:23
Baeltazor19-May-09 17:23 
GeneralRe: Web file download from C# console application gets 401 Pin
Mike Devenney20-May-09 5:04
Mike Devenney20-May-09 5:04 
QuestionRe: Web file download from C# console application gets 401 Pin
Mike Devenney20-May-09 7:21
Mike Devenney20-May-09 7:21 
Questionreferencing a control from a string Pin
Tom Wright19-May-09 9:17
Tom Wright19-May-09 9:17 
AnswerRe: referencing a control from a string [modified] Pin
Jimmanuel19-May-09 9:46
Jimmanuel19-May-09 9:46 

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.