Click to See Complete Forum and Search --> : Folder Sharing through VB.Net Coding


psfelix
September 14th, 2005, 04:29 AM
Hi,

How to share a folder through VB.Net Coding. I have used the shell("net share sharename=c:\directoryname") but i want to know through Coding.

Can any one help me?

ambreesh
September 15th, 2005, 01:23 AM
why do u wanna do that? is this a part of a bigger project?

PramodsNair
September 17th, 2005, 06:01 AM
Dear psfelix,

You can do that using win32_share class and there is an excellent reference at

http://www.dotnet247.com/247reference/msgs/51/259195.aspx

The example given there could get you started