home *** CD-ROM | disk | FTP | other *** search
/ World of Shareware - Software Farm 2 / wosw_2.zip / wosw_2 / QBAS / VBUTIL.ZIP / FVIEW2A.FRM (.txt) < prev    next >
Visual Basic Form  |  1993-03-04  |  4KB  |  149 lines

  1. Form1
  2. File Viewer (version 2A)
  3. Form1%
  4. FilenameBox
  5. FindBox
  6. DosBox
  7. TextBox
  8. FilenameLbl
  9. Filename Input
  10. FindLbl
  11. Find Input
  12. DosLbl
  13. DOS/Win Input
  14. FileCom
  15. ReadCom
  16. ToggleReadCom
  17. Toggle Read
  18. FindFileCom
  19.     Find File
  20. QuitCom
  21. h    SearchCom
  22. Search
  23. FindCom
  24. CommandCom
  25. Command
  26. DosCom
  27. DOS Command
  28. WinCom
  29. Windows Command
  30. ToggleOSCom
  31.     Toggle OS
  32. QuitBtn_Click
  33. Form_Click
  34. ReadBtn_Click
  35. FilenameBox
  36.     LineInput
  37. TextBox%
  38. TextLst_ClickG
  39. TextLstn
  40.     ListCount!
  41. ListSize
  42. FindBtn_ClickO
  43. CurrentLine
  44. Text1_Changev
  45. FindBox_Change
  46. FindBox
  47.     ListIndex
  48. Foundr
  49. FilenameBox_Change
  50.     Form_Load
  51.     MultiLine
  52. ScrollBars
  53. SelStart
  54.     SelLength
  55. CurrentIndexr
  56. CurIndex
  57. TextBox_Change
  58. Search
  59. SelText
  60. BadFile
  61. EndOfSub[
  62. Command1_Click
  63. DosBtn_Click^
  64. DosBox
  65. Dummy7
  66. WinBox_Click
  67. DosBox_Changee
  68. Label1_Clicku
  69. FindFileBtn_Click
  70. DosLbl_Click
  71. Filename
  72. subdirectory
  73. ToggleBtn_Click~
  74. ReadBtn
  75. Enabled
  76. False
  77. TrueQ
  78. ShowShellsBtn_Click
  79. Visible
  80. WinBtn_Click
  81. DosBtn
  82. WinBtn
  83. DosLblh
  84. Label3_Click
  85. FilenameLbl_Click
  86. FindLbl_Click
  87. ShowOSBtn_Click
  88. QuitCom_Click
  89. DosCom_Click
  90. FileCom_Click$
  91. FindCom_ClickI
  92. ToggleReadCom_Click
  93. ReadCom
  94. ReadCom_Click
  95. FindFileCom_Click
  96. WinCom_Click
  97. ToggleOSCom_Click
  98. WinCom
  99. DosCom
  100. BadFile2
  101.     EndOfSub2
  102. FinCom
  103. Checked
  104. FindCom
  105. FindLbl_Change
  106. CommandCom_Click
  107. DosCom_Click
  108.  invoke the DOSBAT batch file 
  109. dosbat.bat 
  110. FindBox_Change
  111. FindCom_Click
  112.  update the index to the current character
  113.  store the text of the Find box in the variable Find
  114.  is variable Find empty?
  115.  nothing to find
  116.  locate the index of the next substring Find in thed
  117.  text boxh
  118.  found a match?
  119.  Yes! Display the matching text as selected text
  120.  No! Clear any selected text
  121. FindFileCom_Click
  122.  invoke the DOS dir command with the /se
  123.  subdirectory option and the /p paginatedt
  124.  output option
  125. dosbat.bat dir 
  126.  /s/p
  127. QuitCom_Click
  128. ReadCom_Click
  129.  obtain filename from the filename text box 
  130.  if filename is an empty string, exitx
  131.  set error-handler
  132.  open the file
  133.  clear variable to reuse it
  134.  loop to read the text lines from the ASCII file
  135.  append a new line
  136.  copy F into text box 
  137.  close the filep
  138.  exit procedurep
  139. * Error-handler 
  140. Cannot open file 
  141. File I/O Error
  142. ToggleOSCom_Click
  143.  toggle the Visible property of the DosBox text box,
  144.  the DosBtn button, the WinBtn button, and the DosLbl
  145.  label
  146. ToggleReadCom_Click
  147. WinCom_Click
  148.  invoke a Windows application
  149.