Click here to Skip to main content
15,923,219 members
Home / Discussions / C#
   

C#

 
GeneralRe: Formatting Pin
bwood202030-Apr-09 10:30
bwood202030-Apr-09 10:30 
QuestionSecure File Transfer with C# Pin
SimpleData28-Apr-09 8:12
SimpleData28-Apr-09 8:12 
QuestionBuild a text control Pin
Alquerque28-Apr-09 6:54
Alquerque28-Apr-09 6:54 
AnswerRe: Build a text control Pin
Giorgi Dalakishvili28-Apr-09 7:00
mentorGiorgi Dalakishvili28-Apr-09 7:00 
GeneralRe: Build a text control Pin
Alquerque28-Apr-09 7:18
Alquerque28-Apr-09 7:18 
QuestionTextBox Pin
sasan5628-Apr-09 5:52
sasan5628-Apr-09 5:52 
AnswerRe: TextBox Pin
Abhishek Sur28-Apr-09 6:02
professionalAbhishek Sur28-Apr-09 6:02 
AnswerRe: TextBox Pin
Henry Minute28-Apr-09 6:10
Henry Minute28-Apr-09 6:10 
QuestionConvert Sql Database To MS Access Pin
nagendra.vk28-Apr-09 5:46
nagendra.vk28-Apr-09 5:46 
AnswerRe: Convert Sql Database To MS Access Pin
Rolando CC28-Apr-09 5:56
professionalRolando CC28-Apr-09 5:56 
QuestionDraw rtf on user control Pin
ZGelic28-Apr-09 4:49
ZGelic28-Apr-09 4:49 
AnswerRe: Draw rtf on user control Pin
Tom Deketelaere28-Apr-09 4:52
professionalTom Deketelaere28-Apr-09 4:52 
GeneralRe: Draw rtf on user control Pin
ZGelic28-Apr-09 4:57
ZGelic28-Apr-09 4:57 
GeneralRe: Draw rtf on user control Pin
Tom Deketelaere28-Apr-09 5:01
professionalTom Deketelaere28-Apr-09 5:01 
AnswerRe: Draw rtf on user control Pin
0x3c028-Apr-09 5:41
0x3c028-Apr-09 5:41 
GeneralRe: Draw rtf on user control Pin
Luc Pattyn28-Apr-09 6:46
sitebuilderLuc Pattyn28-Apr-09 6:46 
GeneralRe: Draw rtf on user control Pin
0x3c028-Apr-09 7:06
0x3c028-Apr-09 7:06 
GeneralRe: Draw rtf on user control Pin
Luc Pattyn28-Apr-09 7:22
sitebuilderLuc Pattyn28-Apr-09 7:22 
GeneralRe: Draw rtf on user control Pin
ZGelic28-Apr-09 9:30
ZGelic28-Apr-09 9:30 
GeneralRe: Draw rtf on user control Pin
Jim Crafton28-Apr-09 9:39
Jim Crafton28-Apr-09 9:39 
GeneralRe: Draw rtf on user control Pin
ZGelic28-Apr-09 10:39
ZGelic28-Apr-09 10:39 
QuestionHow to access internal methods Pin
Andre Vianna28-Apr-09 4:38
Andre Vianna28-Apr-09 4:38 
AnswerRe: How to access internal methods Pin
Heywood28-Apr-09 4:52
Heywood28-Apr-09 4:52 
AnswerRe: How to access internal methods Pin
S. Senthil Kumar30-Apr-09 9:56
S. Senthil Kumar30-Apr-09 9:56 
Questionassigning ownership of files and folders??? Pin
lane0p228-Apr-09 4:22
lane0p228-Apr-09 4:22 
Hi All,

does anyone know how to assign ownership of files and folders?
i have the code to take ownership myself, but can't figure out how to assign ownership to someone else - but i can in the GUI(Vista)!!
There are other 3rd party apps which can do it (setowner.exe) but i wanted to build my own so i can have extra functionality.

i have found this article:
"One of the security constraints of NTFS/NT is that you are only
allowed to set the owner of a file to yourself (e.g. "take ownership")
or to the "Administrators" group. However, there is a "side entrance"
whereby you can assign any arbitrary user as the owner, even if
they're not an administrator. This is a privilege that is *granted* to
administrators and backup operators, but NOT *enabled* by default. So,
how do you enable this? Unfortunately there is no native .NET way to
do this"

so my question is, does someone know how to make C# do this?

Many Thanks,
Phil

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.