Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.lang.visual.basic    |    MS Visual Basic discussions, NOT dot-net    |    10,840 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 9,211 of 10,840    |
|    Spanner to Peter    |
|    Re: File Structure    |
|    12 Feb 05 07:50:37    |
   
   From: no.email@no.email.com   
      
   Set objFSO = CreateObject("Scripting.FileSystemObject")   
   strFolder = "C:\Temp"   
      
   Set objFolder = objFSO.GetFolder(strFolder)   
   Set objFiles = objFolder.Files   
      
   For Each objFile in objFiles   
    MsgBox objFile.Name   
   Next   
      
      
   Peter wrote:   
   > No problem. It will force me to get to grips with API.   
   > Another question has occurred to me now. I can see how to display a list of   
   > folders and select one. Can I access the contents so that I can get all the   
   > file names in an array?   
   >   
   > Sorry about all the individual questions   
   >   
   > Peter   
   >   
   > "Rick Rothstein"
|
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca