LeeSalter Posted March 6, 2003 Posted March 6, 2003 Is there a way in VB .NET or an API that creates/deletes Network shares in an NT/2000 environment. I can do it by shelling out and using rmtshare, but that's ugly in my opinion. :) Quote
Datahighway Posted April 16, 2003 Posted April 16, 2003 Hi LeeSalter, try it with the Windows Command net use and the VB Funktion shell. I think it works fine.i Regards Datahighway. Quote
Madz Posted May 6, 2003 Posted May 6, 2003 I have used this net use LPT: \\server\printer and in VB it would be look like this Shell("net use LPT: \\server\printer") To add a resourec Shell("net use XXX: \\server\Share") to Remove Shell("net use /delete LPT: \\server\share") Quote The one and only Dr. Madz eee-m@il
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.