home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / lang / pascal / 7568 < prev    next >
Encoding:
Text File  |  1992-12-21  |  1.3 KB  |  27 lines

  1. Newsgroups: comp.lang.pascal
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!asuvax!ncar!mimbres.cs.unm.edu!constellation!osuunx.ucc.okstate.edu!vms.ocom.okstate.edu!adams
  3. From: adams@vms.ocom.okstate.edu
  4. Subject: DOS Window & TVision (TP 6.0) ?
  5. Message-ID: <1992Dec18.091850.1@vms.ocom.okstate.edu>
  6. Lines: 15
  7. Sender: news@osuunx.ucc.okstate.edu (USENET News System)
  8. Nntp-Posting-Host: vms.ocom.okstate.edu
  9. Organization: OSU College of Osteopathic Medicine
  10. Date: Fri, 18 Dec 1992 15:18:50 GMT
  11.  
  12.         I saw a request for information on how to create a resizable "dos 
  13. window" from within Turbo Pascal (using Turbo Vision).  I never did see a
  14. response.  I too would like to be able to create a "window" to run dos.  Now, I
  15. am setting up a dialog box, which prompts for a command, then uses this call:
  16.         EXEC ('COMSPEC', '/C' + command);  (if this is wrong, pardon me;
  17.                                             I am doing this from memory (-: )
  18. which shells to dos and executes the command.  I then have a pause routine so
  19. the user can view the results.  As you can see, this workaround is not very
  20. efficent.  Is there any way I can set up a dos window, or even something like
  21. the output window of the IDE?
  22.  
  23. Thanks in advance,
  24. Steven Adams  (INTERNET:  adams@vms.ocom.okstate.edu)
  25.  
  26. P.S.  I am using TP 6.0 (not even 6.01)
  27.