w_aifmb_txset.srw 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. $PBExportHeader$w_aifmb_txset.srw
  2. forward
  3. global type w_aifmb_txset from window
  4. end type
  5. end forward
  6. global type w_aifmb_txset from window
  7. boolean visible = false
  8. integer width = 3365
  9. integer height = 1156
  10. boolean titlebar = true
  11. string title = "亚洲国际通讯服务配置程序"
  12. boolean controlmenu = true
  13. boolean minbox = true
  14. boolean maxbox = true
  15. boolean resizable = true
  16. long backcolor = 67108864
  17. string icon = "AppIcon!"
  18. boolean center = true
  19. end type
  20. global w_aifmb_txset w_aifmb_txset
  21. on w_aifmb_txset.create
  22. end on
  23. on w_aifmb_txset.destroy
  24. end on
  25. event open;//////////////////////////////////////// //亚洲国际通信设置
  26. String ls_run,sys_cur_path1
  27. String ls_server
  28. String ls_logid
  29. String ls_logpass
  30. String ls_database
  31. String ls_txtLJNETIP
  32. String ls_txtLJNETPort
  33. ls_server = sys_email_sqlca.ServerName
  34. ls_logid = sys_email_sqlca.LogID
  35. ls_logpass = sys_email_sqlca.LogPass
  36. ls_database = sys_email_sqlca.Database
  37. ls_txtLJNETIP = "scm.fib2b.cn"
  38. ls_txtLJNETPort = "30086"
  39. sys_cur_path1 = sys_cur_path + "亚洲国际通讯服务配置程序\LongjoeEDISvr_config.exe"
  40. ls_run = ' -longjoe&'&
  41. + ls_server + '&'&
  42. + ls_logid + '&'&
  43. + ls_logpass + '&'&
  44. + ls_database + '&'&
  45. + ls_txtLJNETIP + '&'&
  46. + ls_txtLJNETPort + '&'
  47. IF Run(sys_cur_path1 + ls_run) = -1 THEN
  48. MessageBox('错误','运行程序失败!',stopsign!,ok!)
  49. Close(This)
  50. RETURN
  51. END IF
  52. Close(This)
  53. end event