Create Share 
Author Message
 Create Share

How do I create a Share and set permissions on a NT Server with Visual
basic.

Brgs
Mike



Fri, 06 Oct 2000 03:00:00 GMT  
 Create Share

Michael,

I have written some code for adding and removing shares as well as reading
and writing DACL information for NT security objects, but i never tried to
use the security stuff on shares...
Perhaps it just works...?
If you're interrested, please request sample code by mail.

bye,

Richard,

---------------------------------------


Quote:
>How do I create a Share and set permissions on a NT Server with Visual
>basic.

>Brgs
>Mike



Sun, 08 Oct 2000 03:00:00 GMT  
 Create Share



Quote:
>Michael,

>I have written some code for adding and removing shares as well as reading
>and writing DACL information for NT security objects, but i never tried to
>use the security stuff on shares...
>Perhaps it just works...?
>If you're interrested, please request sample code by mail.

I'll have the code for shares, does it work with '95 and have comments?

Thanks,
--
Dave Grey



Wed, 11 Oct 2000 03:00:00 GMT  
 Create Share

Dave,

The code I referred to will only work in Windows NT.
The DACL-code will only run in Windows NT 4.0 or higher.

I'm sorry,

Richard,

---------------------------------------

Quote:



>>Michael,

>>I have written some code for adding and removing shares as well as reading
>>and writing DACL information for NT security objects, but i never tried to
>>use the security stuff on shares...
>>Perhaps it just works...?
>>If you're interrested, please request sample code by mail.

>I'll have the code for shares, does it work with '95 and have comments?

>Thanks,
>--
>Dave Grey




Fri, 20 Oct 2000 03:00:00 GMT  
 Create Share


Fri, 19 Jun 1992 00:00:00 GMT  
 Create Share

Can anyone help

Im tryin to write a routine that can retireve a list of shares from a
particular resource.

Ie, in a text box I type in     \\SERVERNAME

In a listbox it returns the shares found on \\SERVERNAME

I cannot seem to get WNETENUMRESOURCE to do this.

Any ideas/examples please..

Thanks



Sun, 22 Oct 2000 03:00:00 GMT  
 Create Share

Clearout,

I have recently written a function that uses NetShareEnum.
It works perfectly (it even returns hidden shares, printers a.s.o)
BUT, microsoft discourages the use of the 'old' LanMan functions and
suggests the WNet-API's.
The WNet-examples I have tested were VERY slow, and are no substitute for
the 'old' LanMan API's while they are still working.

If, in spite of Microsoft's preference, you are still interested in the code
please request by mail...

bye,

Richard,

---------------------------------------

Quote:

>Can anyone help

>Im tryin to write a routine that can retireve a list of shares from a
>particular resource.

>Ie, in a text box I type in     \\SERVERNAME

>In a listbox it returns the shares found on \\SERVERNAME

>I cannot seem to get WNETENUMRESOURCE to do this.

>Any ideas/examples please..

>Thanks



Fri, 03 Nov 2000 03:00:00 GMT  
 
 [ 7 post ] 

 Relevant Pages 

1. Creating Shared Directories w/Security

2. Creating shares & setting permissions on folders

3. How to create shares through script?

4. How to create shared directories with VBscript

5. Creating shared folder on a remote server

6. Create Share

7. Creating shared drives automatically?

8. Creating Shared Folder

9. Creating shares on network servers.

10. How to create share programmatically

11. Create share for specific user using NetShareAdd

12. How to create shared folders

 

 
Powered by phpBB® Forum Software