Home  |  Index  |  Dotnet4all Snippets  |  Submit resources
About  |  Mail us  
Dotnet4all Logo

  Create Folder Share In VB.NET Without Using WMI (Monday, December 13, 2004)




Found the following interesting discussion in the Newsgroups:

Create Folder Share In VB.NET Without Using WMI
by:Joey

Hey,
I need to create a share on a remote folder using VB.NET,
On the remote server, there is NO WMI, hence I need to find a way to do so,
Without using WMI.
Thanks ahead,

--Joey


 Reply:
by:hirf-spam-me-here@gmx.at (Herfried K. Wagner [MVP])

 
P/invoke on 'NetShareAdd':

<URL:http://msdn.microsoft.com/library/en-us/netmgmt/netmgmt/netshareadd.asp>
<URL:http://www.codeproject.com/dotnet/pinvokeaddshare.asp>

--
Herfried K. Wagner [MVP]


 Reply:
by:Joey

 Thanks alot Herfried!

--Joey








0 Comments:

Post a Comment

 
Previous Posts
    - Rich text column in datagrid
    - Exception properties
    - How to include a C# class in VB.net?
    - Datagrid events
    - Spam filter
    - Trying to use PrintForm method
    - Make a classname a variable
    - Database Selection Advice Please
    - Record Selection Formula
    - ImageCombos- how to use them?

Archives
    - 10/03/2004 - 10/10/2004
    - 10/10/2004 - 10/17/2004
    - 10/17/2004 - 10/24/2004
    - 10/24/2004 - 10/31/2004
    - 10/31/2004 - 11/07/2004
    - 11/21/2004 - 11/28/2004
    - 11/28/2004 - 12/05/2004
    - 12/05/2004 - 12/12/2004
    - 12/12/2004 - 12/19/2004
    - 12/19/2004 - 12/26/2004
    - 12/26/2004 - 01/02/2005
    - 01/23/2005 - 01/30/2005
    - 01/01/2006 - 01/08/2006
    - 09/24/2006 - 10/01/2006

Disclaimer & Terms of Use  | DotNet4All.Com concept & © 2004 - 2007 by  Zelders²  - Holland