Leaked source code of windows server 2003
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.

618 lines
19 KiB

  1. VERSION 5.00
  2. Begin VB.Form DocProperty
  3. Caption = "Document Properties"
  4. ClientHeight = 9105
  5. ClientLeft = 4650
  6. ClientTop = 825
  7. ClientWidth = 9375
  8. LinkTopic = "Form1"
  9. ScaleHeight = 9105
  10. ScaleWidth = 9375
  11. Begin VB.TextBox SenderAddress
  12. Height = 405
  13. Left = 6480
  14. TabIndex = 61
  15. Top = 6720
  16. Width = 2415
  17. End
  18. Begin VB.Frame Frame1
  19. Caption = "File Name for transmission"
  20. Height = 1455
  21. Left = 4800
  22. TabIndex = 57
  23. Top = 5040
  24. Width = 4215
  25. Begin VB.TextBox DisplayName
  26. Height = 375
  27. Left = 240
  28. TabIndex = 59
  29. Text = "Display Name"
  30. Top = 960
  31. Width = 3615
  32. End
  33. Begin VB.TextBox FileName
  34. Height = 375
  35. Left = 240
  36. TabIndex = 58
  37. Top = 360
  38. Width = 3615
  39. End
  40. End
  41. Begin VB.TextBox CoverpageNote
  42. Height = 405
  43. Left = 4080
  44. TabIndex = 54
  45. Top = 1800
  46. Width = 4815
  47. End
  48. Begin VB.TextBox CoverpageSubject
  49. Height = 405
  50. Left = 1200
  51. TabIndex = 53
  52. Top = 1800
  53. Width = 1935
  54. End
  55. Begin VB.TextBox EmailAddress
  56. Height = 495
  57. Left = 6480
  58. TabIndex = 48
  59. Top = 11880
  60. Width = 2415
  61. End
  62. Begin VB.TextBox SenderOfficePhone
  63. Height = 495
  64. Left = 6480
  65. TabIndex = 47
  66. Top = 11160
  67. Width = 2415
  68. End
  69. Begin VB.TextBox SenderHomePhone
  70. Height = 405
  71. Left = 6480
  72. TabIndex = 46
  73. Top = 7680
  74. Width = 2415
  75. End
  76. Begin VB.TextBox SenderOffice
  77. Height = 375
  78. Left = 6480
  79. TabIndex = 45
  80. Top = 7200
  81. Width = 2415
  82. End
  83. Begin VB.CommandButton Cancel
  84. Caption = "Cancel"
  85. BeginProperty Font
  86. Name = "Palatino Linotype"
  87. Size = 11.25
  88. Charset = 0
  89. Weight = 700
  90. Underline = 0 'False
  91. Italic = 0 'False
  92. Strikethrough = 0 'False
  93. EndProperty
  94. Height = 495
  95. Left = 4320
  96. TabIndex = 44
  97. Top = 8400
  98. Width = 4695
  99. End
  100. Begin VB.CommandButton OK
  101. Caption = "OK"
  102. BeginProperty Font
  103. Name = "Palatino Linotype"
  104. Size = 9.75
  105. Charset = 0
  106. Weight = 700
  107. Underline = 0 'False
  108. Italic = 0 'False
  109. Strikethrough = 0 'False
  110. EndProperty
  111. Height = 495
  112. Left = 120
  113. TabIndex = 43
  114. Top = 8400
  115. Width = 3975
  116. End
  117. Begin VB.TextBox SenderTitle
  118. Height = 495
  119. Left = 1800
  120. TabIndex = 37
  121. Top = 11880
  122. Width = 2535
  123. End
  124. Begin VB.TextBox SenderCompany
  125. Height = 495
  126. Left = 1800
  127. TabIndex = 36
  128. Top = 11160
  129. Width = 2535
  130. End
  131. Begin VB.TextBox SenderDepartment
  132. Height = 405
  133. Left = 1800
  134. TabIndex = 35
  135. Top = 7680
  136. Width = 2535
  137. End
  138. Begin VB.TextBox SenderNumber
  139. Height = 375
  140. Left = 1800
  141. TabIndex = 34
  142. Top = 7200
  143. Width = 2535
  144. End
  145. Begin VB.TextBox SenderName
  146. Height = 405
  147. Left = 1800
  148. TabIndex = 33
  149. Top = 6720
  150. Width = 2535
  151. End
  152. Begin VB.TextBox RecipientCountry
  153. Height = 405
  154. Left = 6480
  155. TabIndex = 27
  156. Top = 4440
  157. Width = 2415
  158. End
  159. Begin VB.TextBox RecipientZip
  160. Height = 405
  161. Left = 6480
  162. TabIndex = 26
  163. Top = 3960
  164. Width = 2415
  165. End
  166. Begin VB.TextBox RecipientState
  167. Height = 405
  168. Left = 6480
  169. TabIndex = 25
  170. Top = 3480
  171. Width = 2415
  172. End
  173. Begin VB.TextBox RecipientCity
  174. Height = 405
  175. Left = 6480
  176. TabIndex = 24
  177. Top = 3000
  178. Width = 2415
  179. End
  180. Begin VB.TextBox RecipientAddress
  181. Height = 405
  182. Left = 6480
  183. TabIndex = 23
  184. Top = 2520
  185. Width = 2415
  186. End
  187. Begin VB.TextBox RecipientOffice
  188. Height = 405
  189. Left = 1800
  190. TabIndex = 15
  191. Top = 4440
  192. Width = 2535
  193. End
  194. Begin VB.TextBox RecipientOfficePhone
  195. Height = 405
  196. Left = 1800
  197. TabIndex = 14
  198. Top = 5400
  199. Width = 2535
  200. End
  201. Begin VB.TextBox RecipientHomePhone
  202. Height = 405
  203. Left = 1800
  204. TabIndex = 13
  205. Top = 4920
  206. Width = 2535
  207. End
  208. Begin VB.TextBox RecipientTitle
  209. Height = 405
  210. Left = 1800
  211. TabIndex = 12
  212. Top = 3960
  213. Width = 2535
  214. End
  215. Begin VB.TextBox RecipientCompany
  216. Height = 405
  217. Left = 1800
  218. TabIndex = 11
  219. Top = 3480
  220. Width = 2535
  221. End
  222. Begin VB.TextBox RecipientDepartment
  223. Height = 405
  224. Left = 1800
  225. TabIndex = 10
  226. Top = 3000
  227. Width = 2535
  228. End
  229. Begin VB.TextBox RecipientName
  230. Height = 405
  231. Left = 1800
  232. TabIndex = 9
  233. Top = 2520
  234. Width = 2535
  235. End
  236. Begin VB.TextBox BillingCode
  237. Height = 375
  238. Left = 6720
  239. TabIndex = 7
  240. Top = 960
  241. Width = 2175
  242. End
  243. Begin VB.OptionButton SendNow
  244. Caption = "Send Immediately"
  245. Height = 375
  246. Left = 6960
  247. TabIndex = 6
  248. Top = 240
  249. Width = 1695
  250. End
  251. Begin VB.OptionButton DiscountRate
  252. Caption = "Discount Rate"
  253. Height = 375
  254. Left = 5400
  255. TabIndex = 5
  256. Top = 240
  257. Width = 1455
  258. End
  259. Begin VB.TextBox FaxNumber
  260. Height = 375
  261. Left = 1800
  262. TabIndex = 3
  263. Top = 240
  264. Width = 3015
  265. End
  266. Begin VB.Frame coverpage
  267. Caption = "Coverpage"
  268. Height = 975
  269. Left = 120
  270. TabIndex = 0
  271. Top = 720
  272. Width = 5055
  273. Begin VB.TextBox CoverpageName
  274. Height = 375
  275. Left = 1680
  276. TabIndex = 2
  277. Top = 360
  278. Width = 3015
  279. End
  280. Begin VB.CheckBox SendCoverpage
  281. Caption = "Cover Page?"
  282. Height = 375
  283. Left = 240
  284. TabIndex = 1
  285. Top = 360
  286. Width = 1335
  287. End
  288. End
  289. Begin VB.Label Label26
  290. Caption = "Email Address :"
  291. Height = 375
  292. Left = 5040
  293. TabIndex = 60
  294. Top = 12000
  295. Width = 1215
  296. End
  297. Begin VB.Label Label25
  298. Caption = "Note :"
  299. Height = 255
  300. Left = 3360
  301. TabIndex = 56
  302. Top = 1920
  303. Width = 615
  304. End
  305. Begin VB.Label Label24
  306. Caption = "Subject :"
  307. Height = 375
  308. Left = 240
  309. TabIndex = 55
  310. Top = 1920
  311. Width = 855
  312. End
  313. Begin VB.Label Label23
  314. Caption = "Sender Office Phone:"
  315. Height = 495
  316. Left = 5040
  317. TabIndex = 52
  318. Top = 11160
  319. Width = 1215
  320. End
  321. Begin VB.Label Label22
  322. Caption = "Sender Home Phone :"
  323. Height = 375
  324. Left = 4800
  325. TabIndex = 51
  326. Top = 7800
  327. Width = 1575
  328. End
  329. Begin VB.Label Label21
  330. Caption = "Sender Office :"
  331. Height = 255
  332. Left = 4800
  333. TabIndex = 50
  334. Top = 7320
  335. Width = 1575
  336. End
  337. Begin VB.Label Label20
  338. Caption = "Sender Address :"
  339. Height = 255
  340. Left = 4800
  341. TabIndex = 49
  342. Top = 6840
  343. Width = 1695
  344. End
  345. Begin VB.Label Label19
  346. Caption = "Sender Title :"
  347. Height = 255
  348. Left = 240
  349. TabIndex = 42
  350. Top = 12000
  351. Width = 1335
  352. End
  353. Begin VB.Label Label18
  354. Caption = "Sender Company :"
  355. Height = 375
  356. Left = 240
  357. TabIndex = 41
  358. Top = 11280
  359. Width = 1455
  360. End
  361. Begin VB.Label Label17
  362. Caption = "Sender Department :"
  363. Height = 375
  364. Left = 240
  365. TabIndex = 40
  366. Top = 7800
  367. Width = 1575
  368. End
  369. Begin VB.Label Label16
  370. Caption = "Sender Fax Number :"
  371. Height = 375
  372. Left = 240
  373. TabIndex = 39
  374. Top = 7320
  375. Width = 1455
  376. End
  377. Begin VB.Label Label15
  378. Caption = "Sender Name :"
  379. Height = 255
  380. Left = 240
  381. TabIndex = 38
  382. Top = 6840
  383. Width = 1455
  384. End
  385. Begin VB.Line Line3
  386. BorderWidth = 5
  387. X1 = 120
  388. X2 = 8880
  389. Y1 = 2400
  390. Y2 = 2400
  391. End
  392. Begin VB.Line Line2
  393. BorderWidth = 5
  394. X1 = 0
  395. X2 = 9120
  396. Y1 = 0
  397. Y2 = 0
  398. End
  399. Begin VB.Line Line1
  400. BorderWidth = 5
  401. X1 = 360
  402. X2 = 9000
  403. Y1 = 6600
  404. Y2 = 6600
  405. End
  406. Begin VB.Label Label14
  407. Caption = "Recipient Country :"
  408. Height = 255
  409. Left = 4920
  410. TabIndex = 32
  411. Top = 4560
  412. Width = 1455
  413. End
  414. Begin VB.Label Label13
  415. Caption = "Recipient Zip Code :"
  416. Height = 375
  417. Left = 4920
  418. TabIndex = 31
  419. Top = 4080
  420. Width = 1455
  421. End
  422. Begin VB.Label Label12
  423. Caption = "Recipient State :"
  424. Height = 255
  425. Left = 4920
  426. TabIndex = 30
  427. Top = 3600
  428. Width = 1215
  429. End
  430. Begin VB.Label Label11
  431. Caption = "Recipient City :"
  432. Height = 255
  433. Left = 4920
  434. TabIndex = 29
  435. Top = 3120
  436. Width = 1455
  437. End
  438. Begin VB.Label Label10
  439. Caption = "Recipient Address :"
  440. Height = 255
  441. Left = 4920
  442. TabIndex = 28
  443. Top = 2640
  444. Width = 1575
  445. End
  446. Begin VB.Label Label9
  447. Caption = "Recipient Office Phone :"
  448. Height = 495
  449. Left = 240
  450. TabIndex = 22
  451. Top = 5520
  452. Width = 1575
  453. End
  454. Begin VB.Label Label8
  455. Caption = "Recipient Home Phone :"
  456. Height = 495
  457. Left = 240
  458. TabIndex = 21
  459. Top = 5040
  460. Width = 1335
  461. End
  462. Begin VB.Label Label7
  463. Caption = "Recipient Office :"
  464. Height = 375
  465. Left = 240
  466. TabIndex = 20
  467. Top = 4560
  468. Width = 1575
  469. End
  470. Begin VB.Label Label6
  471. Caption = "Recipient Title: "
  472. Height = 255
  473. Left = 240
  474. TabIndex = 19
  475. Top = 4080
  476. Width = 1335
  477. End
  478. Begin VB.Label Label5
  479. Caption = "Recipient Company:"
  480. Height = 375
  481. Left = 240
  482. TabIndex = 18
  483. Top = 3600
  484. Width = 1455
  485. End
  486. Begin VB.Label Label4
  487. Caption = "Recipient Dept:"
  488. Height = 255
  489. Left = 240
  490. TabIndex = 17
  491. Top = 3120
  492. Width = 1215
  493. End
  494. Begin VB.Label Label3
  495. Caption = "Recipient Name :"
  496. Height = 375
  497. Left = 240
  498. TabIndex = 16
  499. Top = 2640
  500. Width = 1335
  501. End
  502. Begin VB.Label Label2
  503. Caption = "Billing Code :"
  504. Height = 255
  505. Left = 5520
  506. TabIndex = 8
  507. Top = 1080
  508. Width = 1095
  509. End
  510. Begin VB.Label Label1
  511. Caption = "Fax Number"
  512. Height = 375
  513. Left = 360
  514. TabIndex = 4
  515. Top = 240
  516. Width = 1335
  517. End
  518. End
  519. Attribute VB_Name = "DocProperty"
  520. Attribute VB_GlobalNameSpace = False
  521. Attribute VB_Creatable = False
  522. Attribute VB_PredeclaredId = True
  523. Attribute VB_Exposed = False
  524. Private Sub Cancel_Click()
  525. Unload DocProperty
  526. End Sub
  527. Private Sub Form_Load()
  528. FileName.Text = FaxDocument.FileName
  529. DisplayName.Text = FaxDocument.DisplayName
  530. FaxNumber.Text = FaxDocument.FaxNumber
  531. CoverpageName.Text = FaxDocument.CoverpageName
  532. BillingCode.Text = FaxDocument.BillingCode
  533. If (FaxDocument.DiscountSend <> False) Then
  534. DiscountRate.Value = True
  535. SendNow.Value = False
  536. Else
  537. DiscountRate.Value = False
  538. SendNow.Value = True
  539. End If
  540. If (FaxDocument.SendCoverpage <> False) Then
  541. SendCoverpage.Value = 1
  542. Else
  543. SendCoverpage.Value = 0
  544. End If
  545. EmailAddress.Text = FaxDocument.EmailAddress
  546. RecipientName.Text = FaxDocument.RecipientName
  547. RecipientCompany.Text = FaxDocument.RecipientCompany
  548. RecipientAddress.Text = FaxDocument.RecipientAddress
  549. RecipientCity.Text = FaxDocument.RecipientCity
  550. RecipientState.Text = FaxDocument.RecipientState
  551. RecipientCountry.Text = FaxDocument.RecipientCountry
  552. RecipientTitle.Text = FaxDocument.RecipientTitle
  553. RecipientZip.Text = FaxDocument.RecipientZip
  554. RecipientDepartment.Text = FaxDocument.RecipientDepartment
  555. RecipientOffice.Text = FaxDocument.RecipientOffice
  556. RecipientHomePhone.Text = FaxDocument.RecipientHomePhone
  557. RecipientOfficePhone.Text = FaxDocument.RecipientOfficePhone
  558. SenderName.Text = FaxDocument.SenderName
  559. SenderCompany.Text = FaxDocument.SenderCompany
  560. SenderAddress.Text = FaxDocument.SenderAddress
  561. SenderTitle.Text = FaxDocument.SenderTitle
  562. SenderDepartment.Text = FaxDocument.SenderDepartment
  563. SenderOffice.Text = FaxDocument.SenderOffice
  564. SenderHomePhone.Text = FaxDocument.SenderHomePhone
  565. SenderOfficePhone.Text = FaxDocument.SenderOfficePhone
  566. SenderNumber.Text = FaxDocument.Tsid
  567. CoverpageNote.Text = FaxDocument.CoverpageNote
  568. CoverpageSubject.Text = FaxDocument.CoverpageSubject
  569. End Sub
  570. Private Sub OK_Click()
  571. FaxDocument.FileName = FileName.Text
  572. FaxDocument.DisplayName = DisplayName.Text
  573. FaxDocument.SendCoverpage = SendCoverpage.Value
  574. FaxDocument.FaxNumber = FaxNumber.Text
  575. FaxDocument.CoverpageName = CoverpageName.Text
  576. FaxDocument.BillingCode = BillingCode.Text
  577. FaxDocument.DiscountSend = DiscountRate.Value
  578. FaxDocument.EmailAddress = EmailAddress.Text
  579. FaxDocument.RecipientName = RecipientName.Text
  580. FaxDocument.RecipientCompany = RecipientCompany.Text
  581. FaxDocument.RecipientAddress = RecipientAddress.Text
  582. FaxDocument.RecipientCity = RecipientCity.Text
  583. FaxDocument.RecipientState = RecipientState.Text
  584. FaxDocument.RecipientCountry = RecipientCountry.Text
  585. FaxDocument.RecipientTitle = RecipientTitle.Text
  586. FaxDocument.RecipientZip = RecipientZip.Text
  587. FaxDocument.RecipientDepartment = RecipientDepartment.Text
  588. FaxDocument.RecipientOffice = RecipientOffice.Text
  589. FaxDocument.RecipientHomePhone = RecipientHomePhone.Text
  590. FaxDocument.RecipientOfficePhone = RecipientOfficePhone.Text
  591. FaxDocument.SenderName = SenderName.Text
  592. FaxDocument.SenderCompany = SenderCompany.Text
  593. FaxDocument.SenderAddress = SenderAddress.Text
  594. FaxDocument.SenderTitle = SenderTitle.Text
  595. FaxDocument.SenderDepartment = SenderDepartment.Text
  596. FaxDocument.SenderOffice = SenderOffice.Text
  597. FaxDocument.SenderHomePhone = SenderHomePhone.Text
  598. FaxDocument.SenderOfficePhone = SenderOfficePhone.Text
  599. FaxDocument.Tsid = SenderNumber.Text
  600. FaxDocument.CoverpageNote = CoverpageNote.Text
  601. FaxDocument.CoverpageSubject = CoverpageSubject.Text
  602. Unload DocProperty
  603. End Sub