Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
To List Files and use the file
Message
De
06/10/2000 12:39:38
 
 
À
05/10/2000 13:15:35
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00423912
Message ID:
00426034
Vues:
30
>>>I would like to list all the file(s) in a particular
>>>folder (local hard disk or network Server).
>>>(1) How can I list all the files on the form(to display to user)?
>>>(2) After having the file names, how can I use the file name
>>> to open up and manipulate with the data inside(ASCII text file)?
>>>
>>>Which method will be appropriate to achieve the about tasks.
>>>Thanks a lot(if some sample codes will help me).
>>
>>You can do all of this with the FileSystemObject.
>
>Some examples would be appreciated. I am quite new to VB6, thanks.

Pick up a copy of "VBScript5 Programmer's Reference Manual" from Wrox Press if you find the documentation that accompanies the Windows Scripting Host too difficult (I can't understand why it would be, since all the examples are in VB or VBScript) or try any of the sites in my sig block. The MSDN Library documentation on the FSO is quite complete.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform