This is really kind of two questions.

I've been programming VB6 to access our LAN version of FoxPro 2.0 and even
gotten help already from this newsgroup.

I've gotten the code to work well but the view is in a minimized dos style
box. I'd like to be in a maximized state. Part of my code uses the
following VB6/FoxPro commands:

Open CustDirPath & "do_me.prg" For Output As #newfile
Print #newfile, "FILENAME = '" & Path_to_File & "'"
Print #newfile, "RESTORE MACRO FROM P:\SOFT\ABSSHELL\FOXMACR.FKY"

Print #newfile, "USE &FILENAME"
Print #newfile, "COUNT"
Print #newfile, "BROW NOWAIT"
Close newfile

RunShell "foxprol -T " & CustDirPath & "do_me.prg"


I've been researching in what documentation for FoxPro 2.0 just what the
"-T" indicates in the last line. I assume it is a switch of some sort but
can't find out what it means/accomplishes.

I'm hoping that finding the right switch may help me cure the screen size
issue.

So, to ask a specific question(s)

1. What does the -T indicate?
2. Is there place I can find out all switches besides the @#$$%^&*(
documentation?
3. Given the code I've got so far, can someone recommend a way to influence
the screen/display size of the view area.

Re: FoxPro 2.0 question by Jeroen

Jeroen
Thu Jun 30 18:05:03 CDT 2005

On Thu, 30 Jun 2005 16:37:31 -0500, "Dale" <D-Man> wrote:

See inline

>This is really kind of two questions.
>
>I've been programming VB6 to access our LAN version of FoxPro 2.0 and even
>gotten help already from this newsgroup.
>
>I've gotten the code to work well but the view is in a minimized dos style
>box. I'd like to be in a maximized state. Part of my code uses the
>following VB6/FoxPro commands:
>
>Open CustDirPath & "do_me.prg" For Output As #newfile
>Print #newfile, "FILENAME = '" & Path_to_File & "'"
>Print #newfile, "RESTORE MACRO FROM P:\SOFT\ABSSHELL\FOXMACR.FKY"
>
>Print #newfile, "USE &FILENAME"
>Print #newfile, "COUNT"
>Print #newfile, "BROW NOWAIT"
>Close newfile
>
>RunShell "foxprol -T " & CustDirPath & "do_me.prg"
>
>
>I've been researching in what documentation for FoxPro 2.0 just what the
>"-T" indicates in the last line. I assume it is a switch of some sort but
>can't find out what it means/accomplishes.

The -T switch suppresses the initial Copyright display, so it makes
for a cleaner start (not faster, or better)

>I'm hoping that finding the right switch may help me cure the screen size
>issue.

The screen size is controlled by the DOS-shell which gets started by
your RunShell command. Foxpro doesn't have a notion of the
window-state (because its a dos-ponly program).

Check if there is some kind of .pif file available to controle the
initial settings of the dos-screen.

>So, to ask a specific question(s)
>
>1. What does the -T indicate?
>2. Is there place I can find out all switches besides the @#$$%^&*(
>documentation?
The only other switch I remember is -C <path/file> to start with a
specific 'config.fp' file.


>3. Given the code I've got so far, can someone recommend a way to influence
>the screen/display size of the view area.
>
>
You could try the following Foxpro commands (Not sure if they were
already in 2.0)
SET DISPLAY TO VGA50
or CGA
or VGA25



Re: FoxPro 2.0 question by Jeff

Jeff
Tue Jul 05 13:25:45 CDT 2005


"Jeroen van Kalken" <I@dont.like.spam> wrote in message
news:pdt8c1d48hu1mf5lcks1kj5mm45nm4rbum@4ax.com...
> You could try the following Foxpro commands (Not sure if they were
> already in 2.0)
> SET DISPLAY TO VGA50
> or CGA
> or VGA25
>
>

Also you could use the MODE command to change the size of the DOS box. I
know that 2.6 would respect the MODE. I don't remember if 2.0 did.



Re: FoxPro 2.0 question by Dale

Dale
Wed Jul 06 10:33:19 CDT 2005

Jeff,

Apparently not. Thanx for the response.

Dale

"Jeff Grippe" <jgrippe@hilldun.com> wrote in message
news:11clk6obj09pt3d@news.supernews.com...
>
> "Jeroen van Kalken" <I@dont.like.spam> wrote in message
> news:pdt8c1d48hu1mf5lcks1kj5mm45nm4rbum@4ax.com...
>> You could try the following Foxpro commands (Not sure if they were
>> already in 2.0)
>> SET DISPLAY TO VGA50
>> or CGA
>> or VGA25
>>
>>
>
> Also you could use the MODE command to change the size of the DOS box. I
> know that 2.6 would respect the MODE. I don't remember if 2.0 did.
>



Re: FoxPro 2.0 question by Andrew

Andrew
Thu Jul 07 02:25:31 CDT 2005

"Dale" <D-Man> wrote in message
news:%23Mto5AkgFHA.1044@tk2msftngp13.phx.gbl...
> Jeff,
>
> Apparently not. Thanx for the response.

It's not Fox and it's not maximised but I seem to remember making the window
on a legacy DOS application we use on 2K much larger by altering the font
setting. There should be a button on the toolbar of the window it's running
in to do this.

It's not an "alt+enter" thing is it? From memory that makes it go full
screen but only draws in the top half. The font solution was a better
compromise.
Sorry, this is all rather vague and from years ago.

--
HTH
Andrew Howell



Re: FoxPro 2.0 question by jndb72

jndb72
Thu Jul 07 03:56:52 CDT 2005



Andrew Howell wrote:
> "Dale" <D-Man> wrote in message
> news:%23Mto5AkgFHA.1044@tk2msftngp13.phx.gbl...
> > Jeff,
> >
> > Apparently not. Thanx for the response.
>
> It's not Fox and it's not maximised but I seem to remember making the window
> on a legacy DOS application we use on 2K much larger by altering the font
> setting. There should be a button on the toolbar of the window it's running
> in to do this.
>
> It's not an "alt+enter" thing is it? From memory that makes it go full
> screen but only draws in the top half. The font solution was a better
> compromise.
> Sorry, this is all rather vague and from years ago.
>
> --
> HTH

Hi,

If I remember correctly try Alt-Enter to put the screen into window
mode, then click the control box in the top left hand corner, select
the Defaults menu option and the select the Layout tab. Here you can
set the Screen and Window Width and Height properties. Try using Width
= 80 and Height = 25 for both. Restart the application and it should
now be in full screen. This works on my XP Pro workstation. I seem to
remember it working on 2000 as well.

HTH


> Andrew Howell