home *** CD-ROM | disk | FTP | other *** search
/ Programming Tool Box / SIMS_2.iso / vb_code2 / q_watch / qwatch.frm (.txt) < prev    next >
Visual Basic Form  |  1991-05-15  |  12KB  |  174 lines

  1. QWatch
  2. Queue Watch
  3. Form1
  4. Label3
  5. &Server
  6. Server
  7. Frame1
  8. Warning Levels
  9. Green
  10. Label2
  11. 0        Jobs
  12. Yellow
  13. YellowLevel
  14. Label4
  15. RedLevel
  16. Label5
  17. Queue
  18. wwww|
  19. wwwww
  20. wwww|
  21. wwwww~
  22. """"""""""
  23. Label6
  24. Queues
  25. Watch
  26. Label1
  27. Watch
  28. AppIcon
  29. WakeUp
  30. mFile
  31. &File
  32. mExit
  33. E&xit
  34. mSeperator2
  35. mAbout
  36.     &About...
  37. Option1_Click
  38. Text1_Change
  39. Text1_LinkError>
  40. LinkErr
  41. Text1_LinkOpen
  42. Cancel
  43. Frame1_DragDrop
  44. Source
  45. Form_Click
  46. Command2_Click9
  47. Command1_Clickm
  48. Queue(
  49. Combo1_ChangeY
  50. Combo2_ChangeI
  51. Combo2_ClickC
  52. Combo2_DblClicky
  53. Combo2_DragDrop
  54. Combo2_DragOver
  55. State
  56. Picture1_Click
  57. Picture4_Click
  58. Picture5_ClickO
  59. QWatch
  60. mExit_Click
  61. Index)
  62.     Form_Load
  63. NetServerEnum2
  64. Servers
  65. nResult.
  66. nEntriesy
  67. nTotal
  68. nSize
  69. szServer+
  70. szDomainn
  71. nLevel
  72. nTypes
  73. lTypes
  74. verEnum2d
  75. files4
  76.     szServers
  77. parse3
  78. nParse
  79. nStartB
  80. Server
  81. nIndexb
  82. Timer1_Timer
  83. Label1_Click
  84. Watch_Click
  85. Label1_DblClick
  86. ExitSub
  87. WakeUpR
  88. Interval
  89. Modeo
  90. WindowState\
  91. WakeUp_Timer
  92. lStart
  93. PictureV
  94. Green
  95. Caption
  96. Form_Paint
  97. AppIcon
  98. nAppIcon
  99. Share
  100. Share_Info
  101. NetShareEnum
  102.     szCaption
  103. name"
  104. szname
  105. nType
  106. nShareP
  107. DosPrintQEnum
  108. PRQINFO'
  109. nQueueo
  110. nJobs
  111. YellowLevel
  112. RedLevel
  113. elseIfIf
  114. nStatusD
  115. ExitWakeUp
  116. nWarning
  117. nPreviousWarning
  118. nNewWarning
  119. ThennNewWarning
  120. Yellow
  121. DosPrintQGetInfo
  122. lpPath
  123. nNeeded8
  124. Form_KeyDown
  125. KeyCode`
  126. Shift
  127. Form_KeyPress
  128. KeyAscii
  129. PRQJINFO
  130. Label6_Click
  131. Queue_Click
  132. Queues
  133. ExitWatchClick
  134. Warning
  135. mExit_Click
  136. close application by unloading the main form
  137. Form_Load
  138. query network for list of servers-
  139. parse results returned in szServers-
  140. search for ASCIIZ null terminator-
  141. use the AddItem Method to add server name to the server list box
  142. Label1_Click
  143. allow clicking on the picture text(Watch) by invoking the picture-
  144. Watch_Click
  145. verify selection of a server
  146. No Server Selected."
  147. Begin Watch"
  148. set window title to server name-
  149. set initial warning state to green and establish the icon-
  150. minimize application
  151. set the timer to wake up every 5 seconds
  152. WakeUp_Timer
  153. check whether application is in watch mode or just coming out of it 
  154. query specified server for a list of shared resources-
  155. if shared resource is a print queue then get information
  156. check if printer pauseds
  157. check if printer offline
  158.                     '*----------------------*
  159. check if jobs exceed specified levels-
  160. update application icon if warning state has changed
  161. Form_Paint
  162. determine if being restored from a 'Watch' state
  163. de-activate timer-
  164. reset window title from server name to application name-
  165. Queue Watch"
  166. reset window icon from server warning state to application icon-
  167. immediately invoke queues window if warning is yellow or red -
  168. Label6_Click
  169. allow clicking on the picture text(Queues) by invoking the picture
  170. Queue_Click
  171. verify selection of a server and invoke the queues window-
  172. No Server Selected."
  173. Show Queues"
  174.