home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 65 / IOPROG_65.ISO / soft / vbasic / Direct.ZIP / README.TXT < prev    next >
Encoding:
Text File  |  2002-11-27  |  1.8 KB  |  48 lines

  1. Directories (c) Cyber Solutions 2002
  2.  
  3. THIS IS A SHAREWARE PRODUCT AND MUST BE REGISTERED IF YOU INTEND TO KEEP IT.
  4.  
  5. Programs cost money to research and produce - you do not work for nothing and neither do we.  If you do not register and continue using Directories it will stop working.
  6.  
  7.  
  8. To register all you need to do is make a donation using PayPal - goto https://www.paypal.com.  The donation can be anything depending on how valuable you feel the program is - it could be as low as $1 although we feel that it is worth more than that.  Remember that your donation finances future development on programs.
  9.  
  10. Our email address is tollside@yahoo.com - put Directories as the subject.  Your registered copy will be emailed to you.
  11.  
  12.  
  13.  
  14.  
  15. Installation
  16.  
  17. Run SETUP.EXE
  18. in Visual Basic use Project / References from the menu and use the browse button to locate DIRECTORIES.DLL.  Open the file and it will appear in the list of available components. Check the tick box and press OK.
  19.  
  20. In Excel and Access use Tools / References
  21.  
  22. Email tollside@yahoo.com for any problems.
  23.  
  24.  
  25. Overview:
  26.  
  27. Directories is a DLL component which can be used in your applications. It searches recursively on a specified pathname and loads all pathnames found into an array which can be accessed from your program.
  28.  
  29. Directories is sold on an 'as is' basis and Cyber Solutions Ltd accept no liability for any loss or damage from the use or installation of this product.
  30.  
  31. Sample Code:
  32.  
  33. Dim dd As New DirectoryList
  34. Dim direct As Variant
  35.  
  36. direct = dd.ListSubDirs("c:\windows\")
  37.  
  38. For n = LBound(direct) To UBound(direct)
  39.     
  40.     MsgBox direct(n)
  41.  
  42. Next n
  43.  
  44.  
  45. This will display all the sub directories in the Windows directory.
  46. Note that the information is passed using a variant array - it works the same way as a normal array.
  47.  
  48.