I am trying to setup folder security using this piece of
Set sec = CreateObject("AdsSecurity")
as_FolderPath = "c:\code"
Set sd = sec.GetSecurityDescriptor("FILE://" &
Set dacl = sd.DiscretionaryACL
The dacl object does not get set(Object variable or
With.... error).I have used this code before on the same
machine and was working fine.