Visual Basic Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Iron Speed
Go Back   ASP Free ForumsProgrammingVisual Basic Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
SlickEdit: Code in over 40 languages across 7 platforms. SlickEdit’s unmatched power, speed, and flexibility allows even the most accomplished developers to write better code faster. Download a free trial today!
  #1  
Old July 8th, 2004, 05:39 PM
dmoonme dmoonme is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 30 dmoonme User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 23 m 15 sec
Reputation Power: 5
Unhappy Retrieve Network Shares? HELP!!!

I have 50 shares on a server, \\server\share1 , \\server\share2 , ...,\\server\share50
I could statically add the names of each 50 shares to run on my script but I don't want to do that.
Is there a way to retrieve all network shares dynamically/programmatically?

Here's what I have so far:

Code:
 
Dim names as ArrayList names = New ArrayList() 
 
names.add(\\crwfs1\CMSOPEN) 'manually entered 
names.add(\\crwfs1\Correspondence) 
names.add(\\crwfs1\Data) 
 
Dim strItem as String 
 
For Each strItem In names 
ListDirs(strItem) 
Next
 

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingVisual Basic Programming > Retrieve Network Shares? HELP!!!


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway