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

C#

 
GeneralTo get and set Security permissions of a file or Directory in C# Pin
Raheem MA20-Dec-07 18:58
Raheem MA20-Dec-07 18:58 
GeneralRe: To get and set Security permissions of a file or Directory in C# Pin
michaelvdnest20-Dec-07 20:57
michaelvdnest20-Dec-07 20:57 
GeneralRe: To get and set Security permissions of a file or Directory in C# Pin
Giorgi Dalakishvili20-Dec-07 21:47
mentorGiorgi Dalakishvili20-Dec-07 21:47 
GeneralDelete file Pin
blackjack215020-Dec-07 18:55
blackjack215020-Dec-07 18:55 
GeneralRe: Delete file Pin
Christian Graus20-Dec-07 19:03
protectorChristian Graus20-Dec-07 19:03 
GeneralRe: Delete file Pin
blackjack215020-Dec-07 19:11
blackjack215020-Dec-07 19:11 
GeneralRe: Delete file Pin
michaelvdnest20-Dec-07 20:40
michaelvdnest20-Dec-07 20:40 
GeneralProblem with previleges with fileInfo/directoryInfo objects for moving a file Pin
rajesh4u20-Dec-07 18:04
rajesh4u20-Dec-07 18:04 
Hi,

We have a situation where we need to 'move' a file from one location to another. We are using the moveTo method of fileInfo class for this. But the issue with this is that when we execute it, the file, after it has been moved to the destination folder retains the previleges of the source folder whereas it should have gotten the previleges of the destination folder. copyTo method of the same object does not have this problem.

One alternative is to use the copyTo method and then delete method but that becomes a little risky and we do not want to go that route.

Any ideas how we could acheve 'moving' a file in VB.NET without using the fileInfo.moveTo()?

we are using .Net 1.0

Responses will be greatly appreciated.

Thanks in advance
GeneralRe: Problem with previleges with fileInfo/directoryInfo objects for moving a file Pin
Raheem MA20-Dec-07 19:07
Raheem MA20-Dec-07 19:07 
QuestionInternational Keyboard Input Pin
rcollina20-Dec-07 17:20
rcollina20-Dec-07 17:20 
GeneralRe: International Keyboard Input Pin
Paul Conrad22-Dec-07 9:17
professionalPaul Conrad22-Dec-07 9:17 
GeneralRe: International Keyboard Input Pin
rcollina24-Dec-07 4:46
rcollina24-Dec-07 4:46 
GeneralRe: International Keyboard Input Pin
Paul Conrad24-Dec-07 4:51
professionalPaul Conrad24-Dec-07 4:51 
GeneralRe: International Keyboard Input Pin
rcollina24-Dec-07 12:15
rcollina24-Dec-07 12:15 
GeneralLINQ to XML Pin
Edmundisme20-Dec-07 16:19
Edmundisme20-Dec-07 16:19 
GeneralRe: LINQ to XML Pin
Judah Gabriel Himango20-Dec-07 16:24
sponsorJudah Gabriel Himango20-Dec-07 16:24 
GeneralRe: LINQ to XML Pin
CKnig20-Dec-07 18:21
CKnig20-Dec-07 18:21 
GeneralRe: LINQ to XML Pin
Edmundisme21-Dec-07 9:59
Edmundisme21-Dec-07 9:59 
Questionhow to get user-submitted info from BBS pages? Pin
sduhd20-Dec-07 16:09
sduhd20-Dec-07 16:09 
QuestionWindows Explorer Hooking Pin
sundarprashanth20-Dec-07 15:43
sundarprashanth20-Dec-07 15:43 
GeneralRe: Windows Explorer Hooking Pin
CKnig20-Dec-07 18:24
CKnig20-Dec-07 18:24 
GeneralGeneral C# question Pin
cmh62320-Dec-07 14:46
cmh62320-Dec-07 14:46 
GeneralRe: General C# question Pin
Christian Graus20-Dec-07 15:15
protectorChristian Graus20-Dec-07 15:15 
GeneralRe: General C# question Pin
PIEBALDconsult20-Dec-07 15:27
mvePIEBALDconsult20-Dec-07 15:27 
GeneralRe: General C# question Pin
Christian Graus20-Dec-07 15:51
protectorChristian Graus20-Dec-07 15:51 

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.