1. DOS box

Greetings!

Is there any way to force EX.EXE to operate within a window?  No matter
what I try, it always goes full screen, even resetting PIF settings to full
screen.  Even bound ex programs behave this way, regardless of PIF
settings.  I had created several small utilities in Euphoria which I
intended to run from batch programs.  I had to abandon them for Quickbasic
4.5 based exes which will run inside the DOS box and allow access to other
programs and the start menu.  I tried exw.exe too, but it is no better.
Any output from exw routines goes into a new dos box which jumps open and
then snaps closed on termination.  I need the results to go into the
original dos box running the batch file, like MOVE.EXE, CHOICE.COM, etc.
work.  Any ideas?

Thanks,
John Cannon

new topic     » topic index » view message » categorize

2. Re: DOS box

you hit alt+enter while it's running, then hit the properties button.
Click the screen button, and choose 'Window'. Hit OK. That should save
the PIF. If you have Win 3.x(which is really a DOS program), uh, i dunno.
start looking in PIFs.
_________________
When it comes to programming languages, Euphoria is a cut above
matt1278 at juno.com Euphoria programmer
Webbers: <A HREF="mailto:prezsoft at juno.com">prezsoft at juno.com</A>,
president of SoftCo. All virus proggers should die horrible deaths™

___________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com
or call Juno at (800) 654-JUNO [654-5866]

new topic     » goto parent     » topic index » view message » categorize

3. Re: DOS box

John Z. Cannon writes:
> Is there any way to force EX.EXE to operate within a window?

The first time you run a Euphoria program in a newly-created
MS-DOS prompt window, Windows 95, in its infinite wisdom,
will switch to full-screen. Press Alt-Enter to
make it a small window again. It should then stay as a small window
when you run more Euphoria programs.

This doesn't happen with Windows 3.1. I haven't found a way
to stop Windows 95 from doing it, but if you put graphics_mode(-1)
at the beginning of your program it quickly forces it back into a
small window (from full-screen). You'll probably see some brief
screen flicker.

Regards,
     Rob Craig
     Rapid Deployment Software
     http://members.aol.com/FilesEu/

new topic     » goto parent     » topic index » view message » categorize

4. Re: DOS box

I've got an issue: I can't run an .ex file because Win95 reports this
error:

"This program is set to run in MS-DOS mode and cannot run while other
programs are running. All other programs will close if you choose to
continue.

Do you want to continue?"

What's goin' on? How do I destroy Win95... I mean, how do I fix this
error? :)

Robert Craig wrote:

> John Z. Cannon writes:
> > Is there any way to force EX.EXE to operate within a window?
>
> The first time you run a Euphoria program in a newly-created
> MS-DOS prompt window, Windows 95, in its infinite wisdom,
> will switch to full-screen. Press Alt-Enter to
> make it a small window again. It should then stay as a small window
> when you run more Euphoria programs.
>
> This doesn't happen with Windows 3.1. I haven't found a way
> to stop Windows 95 from doing it, but if you put graphics_mode(-1)
> at the beginning of your program it quickly forces it back into a
> small window (from full-screen). You'll probably see some brief
> screen flicker.
>
> Regards,
>      Rob Craig
>      Rapid Deployment Software
>      http://members.aol.com/FilesEu/

new topic     » goto parent     » topic index » view message » categorize

5. Re: DOS box

ck writes:
> I've got an issue: I can't run an .ex file because Win95 reports
> this error:
> "This program is set to run in MS-DOS mode and cannot run while
> other programs are running. All other programs will close if you
> choose to continue.
> Do you want to continue?"
>What's goin' on? How do I destroy Win95... I mean, how do I fix this
> error? :)

I've never encountered that message.
It sounds like maybe a special .PIF file has been
set up for that program, and maybe there's a setting
that says the program must be run by itself.

The closest I've come to this, is when I tried running
a program with the tick_rate() set to 2000 (or something).
Win95 detected the high interrupt rate and said that
the program should be run in pure DOS mode. It even
set me up with an icon to do that automatically.

Regards,
     Rob Craig
     Rapid Deployment Software
     http://members.aol.com/FilesEu/

new topic     » goto parent     » topic index » view message » categorize

6. Re: DOS box

>I've got an issue: I can't run an .ex file because Win95 reports this
>error:
>
>"This program is set to run in MS-DOS mode and cannot run while other
>programs are running. All other programs will close if you choose to
>continue.
>
>Do you want to continue?"
>
>What's goin' on? How do I destroy Win95... I mean, how do I fix this
>error? :)

There's a PIF setting at work.

Properties->Program tab->Advanced button->MS-DOS mode checkmark

I don't know where you would set that property. At first I suspected the
DOS prompt shortcut, but that would mean you'd get that message whenever
you goto the DOS prompt.

You could look at C:\WINDOWS\DOSAPP.INI and see if C:\EUPHORIA\BIN\EX.EXE
is in there. (If it is, delete that line.)

Maybe someone else can provide more information. I'm just here to help
plant ideas and figure out what ISN'T the problem. :)



Robert Brandon Pilkington--Thinking too much again. (Maybe the 4th
dimension isn't time, because time would exist in 2d worlds too, and if
the 4th dimension is to us 3rd dimensioners, then the 3rd dimension for
2ders is time..... So the 4th dimension is more likely alternate
universes. [And I even have a theory in how to rupture the seal between
them....]) (See what I mean? :)


___________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com
or call Juno at (800) 654-JUNO [654-5866]

new topic     » goto parent     » topic index » view message » categorize

7. Re: DOS box

Thanks, guy(s)... I checked the properties for ex.exe and it was set to
work in DOS mode. Changed that and all is well. :)

Thanks, again!

Robert B Pilkington wrote:
>
> >I've got an issue: I can't run an .ex file because Win95 reports this
> >error:
> >
> >"This program is set to run in MS-DOS mode and cannot run while other
> >programs are running. All other programs will close if you choose to
> >continue.
> >
> >Do you want to continue?"
> >
> >What's goin' on? How do I destroy Win95... I mean, how do I fix this
> >error? :)
>
> There's a PIF setting at work.
>
> Properties->Program tab->Advanced button->MS-DOS mode checkmark
>
> I don't know where you would set that property. At first I suspected the
> DOS prompt shortcut, but that would mean you'd get that message whenever
> you goto the DOS prompt.
>
> You could look at C:\WINDOWS\DOSAPP.INI and see if C:\EUPHORIA\BIN\EX.EXE
> is in there. (If it is, delete that line.)
>
> Maybe someone else can provide more information. I'm just here to help
> plant ideas and figure out what ISN'T the problem. :)
>
> Robert Brandon Pilkington--Thinking too much again. (Maybe the 4th
> dimension isn't time, because time would exist in 2d worlds too, and if
> the 4th dimension is to us 3rd dimensioners, then the 3rd dimension for
> 2ders is time..... So the 4th dimension is more likely alternate
> universes. [And I even have a theory in how to rupture the seal between
> them....]) (See what I mean? :)
>
> ___________________________________________________________________
> You don't need to buy Internet access to use free Internet e-mail.
> Get completely free e-mail from Juno at http://www.juno.com
> or call Juno at (800) 654-JUNO [654-5866]

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu