home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic 5 Developer's Kit / vb5 dev kit.iso / dev / lbltools / readme.txt < prev   
Encoding:
Text File  |  1996-01-17  |  1.6 KB  |  67 lines

  1. README.TXT
  2. ***********************************
  3.  
  4. The dynamic link library contains two functions and the third is in
  5. LBLTOOLS.BAS.
  6.  
  7. These three functions are:
  8.  
  9. ClearLabel
  10. SetLabel
  11. GetLabel
  12.  
  13. which collectively allow you to read, delete and write diskette and
  14. hard drive volume labels. This functions come in handy when you want to:
  15.  
  16. ■ Detect a Diskette Change
  17. ■ Label a Diskette or Drive
  18.  
  19. The syntax below demonstrates how to declare the DLL functions so you can use
  20. them. However if you simply modif the path and add lbltools.bas to
  21. your project all of this has been done for you.
  22.  
  23. Declare Function ClearLabel Lib "LBLTOOLS" (ByVal drive As String) As Integer
  24. Declare Function SetLabel Lib "LBLTOOLS" (ByVal labelName As String) As Integer
  25.  
  26. The third function is defined in LBLTOOLS.BAS.
  27.  
  28. Public Function GetLabel(drive As String) As String
  29.  
  30.     GetLabel = Dir(drive, &H8)
  31.  
  32. End Function
  33.  
  34. To write a disk label simply delete the existing, for example
  35.  
  36. ClearLabel( "A:\" )
  37.  
  38. and then call SetLabel( "A:\LOOPY" ). Don't forget the drive letter with the
  39. label name.
  40.  
  41. This Dynamic Link Library was written in Delphi-16. The program DLL is
  42. shareware. If you find it useful, you may register it online with
  43. Compuserve GO SWREG, REg. ID# 9333
  44.  
  45. or send $10 US to
  46. Software Conceptions, Inc
  47. 4352 Dobie Rd
  48. Okemos, MI 48864
  49.  
  50. For more utilities you may check out our page on the internet at
  51.  
  52. softcon@sojourn.com
  53.  
  54. A demo program has been included. demonstrating how to use the functions.
  55.  
  56. ***************************
  57. PACKING.LST
  58. ***************************
  59.  
  60. FORMS1.FRM
  61. LBLTOOLS.BAS
  62. LBLTOOLS.DLL
  63. PROJECT1.VBP
  64. README.TXT
  65.  
  66.  
  67.