home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!dtix!darwin.sura.net!wupost!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!news.sei.cmu.edu!fs7.ece.cmu.edu!crabapple.srv.cs.cmu.edu!andrew.cmu.edu!ak10+
- From: ak10+@andrew.cmu.edu (Andrew Joseph Kompanek)
- Newsgroups: comp.os.ms-windows.programmer.misc
- Subject: Clarification on WinExec question
- Message-ID: <ceQ4CaO00WB4Ika0Ue@andrew.cmu.edu>
- Date: 24 Jul 92 17:53:42 GMT
- Organization: Carnegie Mellon, Pittsburgh, PA
- Lines: 26
-
-
- Here's a restatement of my problem: I need to run a DOS program from
- a Windows application in the background so that it doesn't take over the
- screen and it runs without any user interaction. Specifically, I merely
- want to run Paradox 3.5 on a PAL script so that it can generate a report
- for me (very simple).
-
- If you use WinExec to run a DOS program, the DOS program will take over
- the screen if you run it in some ACTIVE mode... otherwise the program is
- iconfied and won't run until the user double clicks on it.
-
- It seems there's no way around this unless (I'm running Windows 3.1) there's
- a way to run the DOS program in a Window and then "hide" that Window in
- such a way that the application is still merrily chugging along behind
- the scenes.
-
- Unfortunately, I'm running Windows in standard mode because I fear that
- Paradox and the Paradox Engine will have problems in Enhanced Mode.
- (Hopefully my paranoia isn't just justified.) Does anyone have any ideas about
- solutions in either mode?
-
- Drew
- Andrew Kompanek
- drew@chimera.hgen.pitt.edu
-
- P.S. Many thanks for all the responses I've gotten to my posts
-