Click here to Skip to main content
15,918,168 members
Home / Discussions / C#
   

C#

 
QuestionIs there a source code download for this article? Pin
Member 1253641620-May-16 10:59
Member 1253641620-May-16 10:59 
AnswerRe: Is there a source code download for this article? Pin
Pete O'Hanlon20-May-16 11:21
mvePete O'Hanlon20-May-16 11:21 
GeneralRe: Is there a source code download for this article? Pin
Richard Deeming20-May-16 11:28
mveRichard Deeming20-May-16 11:28 
GeneralRe: Is there a source code download for this article? Pin
Member 1253641620-May-16 11:32
Member 1253641620-May-16 11:32 
AnswerRe: Is there a source code download for this article? Pin
Richard Deeming20-May-16 11:33
mveRichard Deeming20-May-16 11:33 
JokeRe: Is there a source code download for this article? Pin
Member 1253641620-May-16 20:01
Member 1253641620-May-16 20:01 
Questiondelete directory / folder recursive, by pass locked files Pin
jkirkerx20-May-16 10:53
professionaljkirkerx20-May-16 10:53 
AnswerRe: delete directory / folder recursive, by pass locked files Pin
Member 244330620-May-16 11:50
Member 244330620-May-16 11:50 
Is it "speacial or just write protected?

I'm not shure but maybe something like this?

C#
var directory = new DirectoryInfo(@winPath);
//check what it has in Debug mode
//remove write protection
directory.Attributes &= ~FileAttributes.ReadOnly; //hiden, system, what so ever.

GeneralRe: delete directory / folder recursive, by pass locked files Pin
jkirkerx20-May-16 12:30
professionaljkirkerx20-May-16 12:30 
AnswerProblem 2, access the HKLM as Admin doesn't work Pin
jkirkerx20-May-16 12:36
professionaljkirkerx20-May-16 12:36 
GeneralRe: Problem 2, access the HKLM as Admin doesn't work Pin
Member 244330620-May-16 12:53
Member 244330620-May-16 12:53 
GeneralRe: Problem 2, access the HKLM as Admin doesn't work Pin
jkirkerx21-May-16 12:00
professionaljkirkerx21-May-16 12:00 
GeneralRe: Problem 2, access the HKLM as Admin doesn't work Pin
jkirkerx22-May-16 7:28
professionaljkirkerx22-May-16 7:28 
AnswerRe: delete directory / folder recursive, by pass locked files [done] Pin
jkirkerx22-May-16 7:31
professionaljkirkerx22-May-16 7:31 
GeneralRe: delete directory / folder recursive, by pass locked files [done] Pin
Member 244330622-May-16 9:14
Member 244330622-May-16 9:14 
QuestionDotnetbar in C# Pin
Member 1051156220-May-16 1:18
Member 1051156220-May-16 1:18 
AnswerRe: Dotnetbar in C# Pin
Pete O'Hanlon20-May-16 1:42
mvePete O'Hanlon20-May-16 1:42 
JokeRe: Dotnetbar in C# Pin
Richard Deeming20-May-16 1:57
mveRichard Deeming20-May-16 1:57 
AnswerRe: Dotnetbar in C# Pin
Richard MacCutchan20-May-16 1:49
mveRichard MacCutchan20-May-16 1:49 
Questiontrouble with combobox and datagridviews Pin
Simon_Whale20-May-16 1:08
Simon_Whale20-May-16 1:08 
AnswerRe: trouble with combobox and datagridviews Pin
U. G. Leander20-May-16 1:37
professionalU. G. Leander20-May-16 1:37 
QuestionC# How to Copy Files of the same extension from One Server to multiple Servers on the same network simultaneously Pin
Member 1253400819-May-16 23:35
Member 1253400819-May-16 23:35 
AnswerRe: C# How to Copy Files of the same extension from One Server to multiple Servers on the same network simultaneously Pin
Pete O'Hanlon19-May-16 23:54
mvePete O'Hanlon19-May-16 23:54 
GeneralRe: C# How to Copy Files of the same extension from One Server to multiple Servers on the same network simultaneously Pin
Member 1253400820-May-16 0:38
Member 1253400820-May-16 0:38 
GeneralRe: C# How to Copy Files of the same extension from One Server to multiple Servers on the same network simultaneously Pin
Pete O'Hanlon20-May-16 1:00
mvePete O'Hanlon20-May-16 1:00 

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.