PC Review


Reply
Thread Tools Rate Thread

Create Folder Share In VB.NET Without Using WMI

 
 
Joey
Guest
Posts: n/a
 
      23rd May 2004
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 With Quote
 
 
 
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      23rd May 2004
* "Joey" <(E-Mail Removed)> scripsit:
> 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,


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]
<URL:http://dotnet.mvps.org/>
 
Reply With Quote
 
Joey
Guest
Posts: n/a
 
      24th May 2004
Thanks alot Herfried!

--Joey
"Herfried K. Wagner [MVP]" <hirf-spam-me-(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> * "Joey" <(E-Mail Removed)> scripsit:
> > 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,
>
> P/invoke on 'NetShareAdd':
>
>

<URL:http://msdn.microsoft.com/library/en...etshareadd.asp
>
> <URL:http://www.codeproject.com/dotnet/pinvokeaddshare.asp>
>
> --
> Herfried K. Wagner [MVP]
> <URL:http://dotnet.mvps.org/>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Create folder share right for domain user Ben Windows XP Security 1 8th Jan 2010 02:00 AM
Multiple Share Calendars - Create a folder for each? Al Microsoft Outlook Calendar 0 6th Mar 2007 03:25 PM
How to Create Share Folder only to one user ? HuffmaN Microsoft Dot NET Framework 1 24th Oct 2006 03:09 AM
Create a folder share? pnp Microsoft C# .NET 4 30th Nov 2004 01:07 PM
Create a folder share =?Utf-8?B?QnJ1Y2UgUGFya2Vy?= Microsoft VB .NET 4 15th Nov 2004 09:53 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:18 PM.