Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

229 lines
5.9 KiB

  1. VERSION 5.00
  2. Begin VB.Form ServerProperty
  3. Caption = "Server Properties"
  4. ClientHeight = 7305
  5. ClientLeft = 5970
  6. ClientTop = 4065
  7. ClientWidth = 6405
  8. LinkTopic = "Form1"
  9. ScaleHeight = 7305
  10. ScaleWidth = 6405
  11. Begin VB.OptionButton UnpauseQueue
  12. Caption = "Unpause Server Queue"
  13. Height = 375
  14. Left = 2400
  15. TabIndex = 17
  16. Top = 2880
  17. Width = 2055
  18. End
  19. Begin VB.OptionButton PauseQueue
  20. Caption = "Pause Server Queue"
  21. Height = 375
  22. Left = 360
  23. TabIndex = 16
  24. Top = 2880
  25. Width = 2175
  26. End
  27. Begin VB.CommandButton Cancel
  28. Caption = "Cancel"
  29. Height = 615
  30. Left = 3495
  31. TabIndex = 15
  32. Top = 6360
  33. Width = 1335
  34. End
  35. Begin VB.CommandButton OK
  36. Caption = "OK"
  37. Height = 615
  38. Left = 1575
  39. TabIndex = 14
  40. Top = 6360
  41. Width = 1215
  42. End
  43. Begin VB.CheckBox UseDeviceTsid
  44. Caption = "Use Device Tsid"
  45. Height = 495
  46. Left = 3120
  47. TabIndex = 12
  48. Top = 1920
  49. Width = 1695
  50. End
  51. Begin VB.TextBox SvcMapiProfile
  52. Height = 615
  53. Left = 1560
  54. TabIndex = 10
  55. Top = 5040
  56. Width = 3015
  57. End
  58. Begin VB.TextBox ArchiveDir
  59. Height = 615
  60. Left = 1560
  61. TabIndex = 6
  62. Top = 3960
  63. Width = 4095
  64. End
  65. Begin VB.CheckBox ArchiveFaxes
  66. Caption = "Enable"
  67. Height = 495
  68. Left = 480
  69. TabIndex = 5
  70. Top = 3960
  71. Width = 2175
  72. End
  73. Begin VB.CheckBox ServerCoverpg
  74. Caption = "Allow Server Coverpages only"
  75. Height = 495
  76. Left = 3120
  77. TabIndex = 4
  78. Top = 1080
  79. Width = 2535
  80. End
  81. Begin VB.CheckBox Branding
  82. Caption = "Page Branding"
  83. Height = 495
  84. Left = 3120
  85. TabIndex = 3
  86. Top = 240
  87. Width = 1575
  88. End
  89. Begin VB.TextBox DirtyDays
  90. Height = 495
  91. Left = 1440
  92. TabIndex = 2
  93. Top = 1920
  94. Width = 1335
  95. End
  96. Begin VB.TextBox RetryDelay
  97. Height = 495
  98. Left = 1440
  99. TabIndex = 1
  100. Top = 1080
  101. Width = 1335
  102. End
  103. Begin VB.TextBox Retries
  104. Height = 495
  105. Left = 1440
  106. TabIndex = 0
  107. Top = 240
  108. Width = 1335
  109. End
  110. Begin VB.Frame Frame1
  111. Caption = "Archive Outgoing Faxes"
  112. Height = 1455
  113. Left = 240
  114. TabIndex = 13
  115. Top = 3480
  116. Width = 5655
  117. End
  118. Begin VB.Label Label5
  119. Caption = "Server MAPI Profile:"
  120. Height = 495
  121. Left = 240
  122. TabIndex = 11
  123. Top = 5160
  124. Width = 1215
  125. End
  126. Begin VB.Label Label4
  127. Caption = "Dirty Days:"
  128. Height = 255
  129. Left = 240
  130. TabIndex = 9
  131. Top = 2040
  132. Width = 1095
  133. End
  134. Begin VB.Label Label3
  135. Caption = "Retry Delay:"
  136. Height = 255
  137. Left = 240
  138. TabIndex = 8
  139. Top = 1200
  140. Width = 1095
  141. End
  142. Begin VB.Label Label2
  143. Caption = "Retries:"
  144. Height = 255
  145. Left = 360
  146. TabIndex = 7
  147. Top = 360
  148. Width = 855
  149. End
  150. End
  151. Attribute VB_Name = "ServerProperty"
  152. Attribute VB_GlobalNameSpace = False
  153. Attribute VB_Creatable = False
  154. Attribute VB_PredeclaredId = True
  155. Attribute VB_Exposed = False
  156. Private Sub Cancel_Click()
  157. Unload ServerProperty
  158. End Sub
  159. Private Sub Form_Load()
  160. GetServerProperties
  161. End Sub
  162. Sub GetServerProperties()
  163. ArchiveDir.Text = Fax.ArchiveDirectory
  164. SvcMapiProfile.Text = Fax.ServerMapiProfile
  165. Retries.Text = Fax.Retries
  166. RetryDelay.Text = Fax.RetryDelay
  167. DirtyDays.Text = Fax.DirtyDays
  168. If (Fax.PauseServerQueue <> False) Then
  169. PauseQueue.Value = True
  170. UnpauseQueue.Value = False
  171. Else
  172. PauseQueue.Value = False
  173. UnpauseQueue.Value = True
  174. End If
  175. If (Fax.ArchiveOutboundFaxes <> False) Then
  176. ArchiveFaxes.Value = 1
  177. Else
  178. ArchiveFaxes.Value = 0
  179. End If
  180. If (Fax.UseDeviceTsid <> False) Then
  181. UseDeviceTsid.Value = 1
  182. Else
  183. UseDeviceTsid.Value = 0
  184. End If
  185. If (Fax.Branding <> False) Then
  186. Branding.Value = 1
  187. Else
  188. Branding.Value = 0
  189. End If
  190. If (Fax.ServerCoverpage <> False) Then
  191. ServerCoverpg.Value = 1
  192. Else
  193. ServerCoverpg.Value = 0
  194. End If
  195. End Sub
  196. Private Sub OK_Click()
  197. Fax.ArchiveDirectory = ArchiveDir.Text
  198. Fax.ServerMapiProfile = SvcMapiProfile.Text
  199. Fax.Retries = Retries.Text
  200. Fax.RetryDelay = RetryDelay.Text
  201. Fax.DirtyDays = DirtyDays.Text
  202. Fax.PauseServerQueue = PauseQueue.Value
  203. Fax.ArchiveOutboundFaxes = ArchiveFaxes.Value
  204. Fax.UseDeviceTsid = UseDeviceTsid.Value
  205. Fax.Branding = Branding.Value
  206. Fax.ServerCoverpage = ServerCoverpg.Value
  207. Unload ServerProperty
  208. End Sub