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

  1. Form1
  2. File Viewer (version 2C)
  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. &File
  16. ReadCom
  17. ToggleReadCom
  18. Toggle Read
  19. FindFileCom
  20.     Find File
  21. AddFileCom
  22. Add File
  23. DeleteFileCom
  24. Delete File
  25. QuickFilename
  26. QuitCom
  27.     SearchCom
  28. &Search
  29. FindCom
  30. CommandCom
  31. &Command
  32. DosCom
  33. DOS Command
  34. WinCom
  35. Windows Command
  36. ToggleOSCom
  37.     Toggle OS
  38. QuitBtn_Click
  39. Form_Click
  40. ReadBtn_Click
  41. FilenameBox
  42.     LineInputM
  43. TextBox%
  44. TextLst_ClickG
  45. TextLstn
  46.     ListCount!
  47. ListSize
  48. FindBtn_ClickO
  49. CurrentLine
  50. Text1_Changev
  51. FindBox_Change
  52. Find|
  53. FindBox
  54.     ListIndex
  55. Foundr
  56. FilenameBox_Change
  57. @    Form_Load
  58.     MultiLine
  59. ScrollBars
  60. SelStart
  61.     SelLength
  62. CurrentIndexr
  63. CurIndex
  64. TextBox_Change
  65. Search
  66. SelText
  67. BadFile
  68. EndOfSub[
  69. Command1_Click
  70. DosBtn_Click^
  71. DosBox
  72. Dummy7
  73. WinBox_Click
  74. DosBox_Changee
  75. Label1_Clicku
  76. FindFileBtn_Click
  77. DosLbl_Click
  78. Filename(
  79. subdirectory
  80. ToggleBtn_Click~
  81. ReadBtn
  82. Enabled
  83. False
  84. TrueQ
  85. ShowShellsBtn_Click
  86. Visible
  87. WinBtn_Click
  88. DosBtn
  89. WinBtn
  90. DosLblh
  91. Label3_Click
  92. FilenameLbl_Click
  93. FindLbl_Click
  94. ShowOSBtn_Click
  95. QuitCom_Click
  96. DosCom_Click
  97. FileCom_Click$
  98. FindCom_ClickI
  99. ToggleReadCom_Click
  100. ReadCom
  101. ReadCom_Click
  102. FindFileCom_Click
  103. WinCom_Click
  104. ToggleOSCom_Click
  105. WinCom
  106. DosCom
  107. BadFile2
  108.     EndOfSub2
  109. FinCom
  110. Checked
  111. FindCom1
  112. FindLbl_Change
  113. CommandCom_ClickH
  114. AddFileCom_Click
  115. TheFilename
  116. NumFiles
  117. QuickFilename
  118. QuickFilename_Click
  119. Index
  120. DeleteFileCom_Click
  121. Caption
  122. Form_LinkClose
  123. Form_LinkError
  124. LinkErr
  125. Form_LinkExecute
  126. CmdStr
  127. Cancel
  128. Form_LinkOpen
  129. config
  130. AddFileCom_Click
  131. Enter full file name: 
  132.  increment the menu count 
  133.  load a new menu command
  134. DeleteFileCom_Click
  135. Enter number to delete: 
  136. The number is out-of-range
  137. Input Error
  138. DosCom_Click
  139.  invoke the DOSBAT batch file 
  140. dosbat.bat 
  141. FindBox_Change
  142. FindCom_Click
  143.  update the index to the current character
  144.  store the text of the Find box in the variable Find
  145.  is variable Find empty?
  146.  nothing to find
  147.  locate the index of the next substring Find in thed
  148.  text boxh
  149.  found a match?
  150.  Yes! Display the matching text as selected text
  151.  No! Clear any selected text
  152. FindFileCom_Click
  153.  invoke the DOS dir command with the /se
  154.  subdirectory option and the /p paginatedn
  155.  output option
  156. dosbat.bat dir 
  157.  /s/p
  158. FindLbl_Change
  159. Form_Load
  160. QuickFilename_Click
  161. QuitCom_Click
  162. ReadCom_Click
  163.  obtain filename from the filename text box 
  164.  if filename is an empty string, exitx
  165.  set error-handler
  166.  open the file
  167.  clear variable to reuse it
  168.  loop to read the text lines from the ASCII file
  169.  append a new line
  170.  copy F into text box 
  171.  close the filep
  172.  exit procedurep
  173. * Error-handler 
  174. Cannot open file 
  175. File I/O Error
  176. ToggleOSCom_Click
  177.  toggle the Visible property of the DosBox text box,
  178.  the DosBtn button, the WinBtn button, and the DosLbl
  179.  label
  180. ToggleReadCom_Click
  181. WinCom_Click
  182.  invoke a Windows application
  183.