Trying to create shared folder. VB.NET

  • Thread starter Thread starter ehaffey
  • Start date Start date
E

ehaffey

Hi, Im trying to get a VB.NET program to create a shared folder. I can
make the folder but I cant figure out how to make it as a shared
folder. Also I will want to set the permissions on the folder and on
the share. How can I do this using VB.NET code?
 
Hi
Try the FileIOPermission class under the Namespace
System.Security.Permissions to to read or set attributes to files. It is
the closest to what you are asking . check also System.IO.FileInfo or
System.IO.DirectoryInfo
Hope any would hellp
Mohamed Mahfouz
MEA Developer Support Center
ITworx on behalf of Microsoft EMEA GTSC
 
Yeah that looks like it is what im trying to do. Thanks for the help.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top