Valhalla Legends Archive

Programming => General Programming => Visual Basic Programming => Topic started by: KrAzY_NuK on May 13, 2005, 09:08 AM

Title: Setting NTFS Permissions in VB6
Post by: KrAzY_NuK on May 13, 2005, 09:08 AM
Heya,

I've spent about 4 hours searching through google, and I haven't been able to find anything but .NET stuff.

Anyone have anything (even sample code) to programmatically set NTFS permissions on a w2k or XP machine?  I'm trying to avoid calling cacls.exe from a shell.

Thanks in advance

Edit: Just found this link: http://www.tek-tips.com/viewthread.cfm?qid=644287
Title: Re: Setting NTFS Permissions in VB6
Post by: Yegg on May 13, 2005, 07:56 PM
Did the link completely solve your problem?
Title: Re: Setting NTFS Permissions in VB6
Post by: KrAzY_NuK on May 14, 2005, 11:52 AM
Quote from: Yegg on May 13, 2005, 07:56 PM
Did the link completely solve your problem?

between that, and a project that someone had already done, I was able to solve it.

Thanks   :D