Mombu the Microsoft Forum sponsored links

Go Back   Mombu the Microsoft Forum > Microsoft > Opening Shared Folder on other computer programatically
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 8th August 23:31
mohammed dwaikat
External User
 
Posts: 1
Default Opening Shared Folder on other computer programatically



Hi All
I have an application that saves some files on the network shared folder,
However , before saving the files I have to go to that folder ,open it, set
the username and password for that shared folder to be able to save on it.
Is there any function that I can pass to it the saring folder name, username
and password to create the link with the shared folder programatically.
I will appreciate it if there is an example.


Best Regards
Thank you
  Reply With Quote


  sponsored links


2 8th August 23:31
arkady frenkel
External User
 
Posts: 1
Default Opening Shared Folder on other computer programatically



NetShareAdd()
Arkady
  Reply With Quote
3 8th August 23:31
randy birch
External User
 
Posts: 1
Default Opening Shared Folder on other computer programatically


http://vbnet.mvps.org/code/network/netshareadd.htm if you have to
programatically create the share on the other machine.

http://vbnet.mvps.org/code/network/netconnect.htm to map a local drive to a
share (WNetAddConnection2).

--

Randy Birch
MVP Visual Basic
http://vbnet.mvps.org/
Please respond only to the newsgroups so all can benefit.


: Hi All
: I have an application that saves some files on the network shared folder,
: However , before saving the files I have to go to that folder ,open it,
set
: the username and password for that shared folder to be able to save on it.
: Is there any function that I can pass to it the saring folder name,
username
: and password to create the link with the shared folder programatically.
: I will appreciate it if there is an example.
:
:
: Best Regards
: Thank you
:
:
  Reply With Quote
Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666