Question : Create folder / Start Menu Programs Shortcut / Set permissions

I'm a little new to VB, most of my time has been with VBA until now.

I would like to create a folder on the users computer ( don't really care where, maybe under the programs folder.? ) and set the permissions to that folder  and all of it's files set to full control for everyone ( all users ).  

Then I would like to create a start menu folder under all programs that creates a shortcut to an .exe file in the folder that was created in the first step.

I'm using VB6.0

Thanks

Answer : Create folder / Start Menu Programs Shortcut / Set permissions

1:
2:
3:
4:
5:
6:
Dim redirectionFolder As String = "D:\test\subtest\"

Dim everyOne As New FileSystemAccessRule("Everyone", FileSystemRights.FullControl, AccessControlType.Allow)
Dim dirSecurity As New DirectorySecurity(redirectionFolder, AccessControlSections.Group)
dirSecurity.AddAccessRule(everyOne)
Directory.SetAccessControl(redirectionFolder, dirSecurity)
Random Solutions  
 
programming4us programming4us