Click here to Skip to main content
15,889,281 members
Home / Discussions / C#
   

C#

 
GeneralRe: Retrieve the control's name [modified] Pin
Luc Pattyn28-Nov-09 0:54
sitebuilderLuc Pattyn28-Nov-09 0:54 
QuestionRe: Retrieve the control's name Pin
c0ax_lx28-Nov-09 1:07
c0ax_lx28-Nov-09 1:07 
AnswerRe: Retrieve the control's name Pin
Luc Pattyn28-Nov-09 1:20
sitebuilderLuc Pattyn28-Nov-09 1:20 
GeneralRe: Retrieve the control's name Pin
c0ax_lx28-Nov-09 1:31
c0ax_lx28-Nov-09 1:31 
GeneralRe: Retrieve the control's name Pin
PIEBALDconsult28-Nov-09 4:59
mvePIEBALDconsult28-Nov-09 4:59 
GeneralRe: Retrieve the control's name Pin
Luc Pattyn28-Nov-09 6:00
sitebuilderLuc Pattyn28-Nov-09 6:00 
AnswerRe: Retrieve the control's name Pin
BillWoodruff28-Nov-09 6:22
professionalBillWoodruff28-Nov-09 6:22 
QuestionDirectory Security Pin
ziwez027-Nov-09 22:01
ziwez027-Nov-09 22:01 
Hi guys im creating a folder then adding a user with permissions to that folder but how
do I then set this security permission to apply to this folder, sub folders and files within this folder?
currently it just applys to this folder only.(so when the app creates a file within this folder the file does not inherit the permission's from the folder)

DirectorySecurity dirSec = Directory.GetAccessControl(_dbPath);
dirSec.AddAccessRule(new FileSystemAccessRule("Everyone", FileSystemRights.Write, AccessControlType.Allow));
dirSec.AddAccessRule(new FileSystemAccessRule("Everyone", FileSystemRights.ReadAndExecute, AccessControlType.Allow));
dirSec.AddAccessRule(new FileSystemAccessRule("Everyone", FileSystemRights.CreateFiles, AccessControlType.Allow));
  dirSec.AddAccessRule(new FileSystemAccessRule(IdentityReference, FileSystemRights.WriteData,InheritanceLevel,PropagationFlags., AccessControlType.Allow));
Directory.SetAccessControl(_dbPath, dirSec);

AnswerRe: Directory Security [modified] Pin
Saksida Bojan27-Nov-09 23:15
Saksida Bojan27-Nov-09 23:15 
Questionprivate methods using .net reflection. why?? Pin
mittalpa27-Nov-09 19:16
mittalpa27-Nov-09 19:16 
GeneralRe: private methods using .net reflection. why?? Pin
harold aptroot28-Nov-09 5:30
harold aptroot28-Nov-09 5:30 
QuestionSetup for published app crashes Pin
Charlesh327-Nov-09 19:14
Charlesh327-Nov-09 19:14 
AnswerRe: Setup for published app crashes Pin
Saksida Bojan27-Nov-09 20:55
Saksida Bojan27-Nov-09 20:55 
GeneralRe: Setup for published app crashes Pin
Charlesh328-Nov-09 5:05
Charlesh328-Nov-09 5:05 
QuestionGetting Error In For each Pin
Anubhava Dimri27-Nov-09 19:01
Anubhava Dimri27-Nov-09 19:01 
AnswerRe: Getting Error In For each Pin
Shameel27-Nov-09 20:03
professionalShameel27-Nov-09 20:03 
GeneralRe: Getting Error In For each Pin
Anubhava Dimri27-Nov-09 20:08
Anubhava Dimri27-Nov-09 20:08 
GeneralRe: Getting Error In For each Pin
Shameel27-Nov-09 20:10
professionalShameel27-Nov-09 20:10 
AnswerRe: Getting Error In For each Pin
Saksida Bojan27-Nov-09 20:29
Saksida Bojan27-Nov-09 20:29 
GeneralRe: Getting Error In For each Pin
Anubhava Dimri27-Nov-09 20:38
Anubhava Dimri27-Nov-09 20:38 
GeneralRe: Getting Error In For each Pin
Saksida Bojan27-Nov-09 21:10
Saksida Bojan27-Nov-09 21:10 
GeneralRe: Getting Error In For each Pin
Anubhava Dimri27-Nov-09 22:03
Anubhava Dimri27-Nov-09 22:03 
QuestionTextBox DataBindings doesn't work... Pin
shayke2327-Nov-09 14:37
shayke2327-Nov-09 14:37 
AnswerRe: TextBox DataBindings doesn't work... Pin
Christian Graus27-Nov-09 16:11
protectorChristian Graus27-Nov-09 16:11 
AnswerRe: TextBox DataBindings doesn't work... Pin
Gerry Schmitz28-Nov-09 7:17
mveGerry Schmitz28-Nov-09 7:17 

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.