home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 5 / 05.iso / a / a079 / 1.img / FPDG.LZH / VOL2NUM0 / DDEEXEC / DDEEXEC.APP (.txt) < prev    next >
Encoding:
MS Visual FoxPro App  |  1993-02-03  |  4.5 KB  |  67 lines

  1. DDE Error: F
  2. DDEerr
  3. DDEERR
  4. ERRNO
  5. xcluGETERRS
  6. DDEERR.MEM2
  7. Service busy
  8. Topic busy
  9. Channel busy
  10. No such service
  11. No such topic
  12. Bad channel
  13. Insufficient memory
  14. Acknowledge timeout
  15. Request timeout
  16. No DDEInitialize
  17. Client attempted server transaction identifier
  18. Execute timeout
  19. Bad parameter
  20. Low memory
  21. Memory error
  22. Connect failure
  23. Request failure
  24. Poke timeout
  25. Could not display message
  26. Multiple synchronous transactions 
  27. Server died
  28. Internal DDE error
  29. Advise timeout
  30. Invalid transaction
  31. Unknown
  32. DDEerr
  33. DDEerr
  34. DDEerr
  35. DDEERR
  36. GETERRS
  37. winword
  38. Find WINWORD.EXE
  39. RUN /N1 &winw
  40. WinWord
  41. system
  42. [AppMaximize]
  43. [FileOpen "letter.doc"]
  44. [EditSelectAll]
  45. [EditCopy]
  46. [FileExit]
  47. CHANNEL
  48. LETTER
  49. This is a test
  50. BRUCE
  51. Times New Roman
  52. Symbol
  53. Arial
  54. Palamino
  55. Bruce Braunstein
  56. Bruce Braunstein
  57. The DDEEXEC.PRG program places a Word for Windows document on the clipboard using DDE communications. First, DDEEXEC.PRG executes Microsoft Word for Windows using the RUN command since an application must be open before you can use the DDEInitiate() function to establish a channel to the application. Since the intent is to send WordBasic commands to Word for Windows, the System topic name is used. Once a valid channel is established, the DDEExecute()  executes to send commands to open a document, select the entire document, and copy selected text to the clipboard. The memory variable, Letter is assigned the contents of the clipboard. Finally, a command is sent to exit Word for Windows (to save memory) and the DDETerminate() function executes to close the DDE channel.
  58. e:\jebwin\ddeexec\ddeerr.prg
  59. h:\foxprow\
  60. DDEERR.FXP
  61. DDEEXEC.PRG
  62. c:\windows\temp\
  63. DDEEXEC.FXP
  64. c:\foxprodg\vol2num0\ddeexec\
  65. LETTERS.DOC
  66. DDEEXEC.ART
  67.