Shares and folder permissions in VB.NET
I've got an old application (VB6) that creates user shares and sets NTFS permissions that has worked since Windows 2000.
Now Server 2008/64bit has come along, and it won't work at all so it looks like a re-write. I'm using Visual Basic Express 2008 and so far can't see to find a simple way to do the following:
- Create a folder on a local drive
- Share the above folder (and set the share permissions)
- Set the permissions for a folder within that share and set them to replicate downwards
Has anyone got a code snippet or example they can show me? I'm going around circles here trying to find a way around this!