What is the reason for Too many files open Error in Foxpro 2.6 for Dos,
under Windows XP ?

Best Regards,

Luqman

Re: Too many files open Error in Foxpro 2.6 for Dos, under Windows XP ? by Rolf

Rolf
Wed Jan 25 03:07:38 CST 2006

"Luqman" <pearlsoft@cyber.net.pk> skrev i melding
news:%23KflEzYIGHA.3944@tk2msftngp13.phx.gbl...
> What is the reason for Too many files open Error in Foxpro 2.6 for Dos,
> under Windows XP ?


Your FILES setting in CONFIG.NT is too low




Re: Too many files open Error in Foxpro 2.6 for Dos, under Windows XP ? by Luqman

Luqman
Wed Jan 25 03:40:34 CST 2006

ok, currently its set to files=40, what number is the best and how do I
know, how many files to be required for my Application ?

My Foxpro Application EXE file is on Windows 2000 Server and its paste
shortcut on every client running windows 98, do I have to write this FILES
parameter on every client machine's config.sys of windows 98, or just the
Windows 2000 Server, where EXE resides.

Best Regards,

Luqman




"Rolf Lystad" <rolf@invalid.invalid> wrote in message
news:%23W%23tL7YIGHA.3728@tk2msftngp13.phx.gbl...
> "Luqman" <pearlsoft@cyber.net.pk> skrev i melding
> news:%23KflEzYIGHA.3944@tk2msftngp13.phx.gbl...
>> What is the reason for Too many files open Error in Foxpro 2.6 for Dos,
>> under Windows XP ?
>
>
> Your FILES setting in CONFIG.NT is too low
>
>
>




Re: Too many files open Error in Foxpro 2.6 for Dos, under Windows XP ? by Rolf

Rolf
Wed Jan 25 03:54:43 CST 2006

> My Foxpro Application EXE file is on Windows 2000 Server and its paste
> shortcut on every client running windows 98, do I have to write this FILES
> parameter on every client machine's config.sys of windows 98, or just the
> Windows 2000 Server, where EXE resides.
>
> Best Regards,
>

The FILES setting must be on every client.
It's useless on the server. (unless the application is run on the server)
( In CONFIG.SYS on win98 / CONFIG.NT on XP )
I use FILES=100
My old DOS application needs 60, but it's better to be safe.




Re: Too many files open Error in Foxpro 2.6 for Dos, under Windows XP ? by Luqman

Luqman
Wed Jan 25 04:42:39 CST 2006

As I told you, the Application is running on the Server, its EXE and All DBF
files are on a Shared Folder in Server running Windows 2000 server, however
all clients are using that EXE file from their pcs, running windows 98.

Do I need to mention BUFFERS=?? with FILES or not necessary ?

Best Regards,

Luqman



"Rolf Lystad" <rolf@invalid.invalid> wrote in message
news:%23mCjhVZIGHA.740@TK2MSFTNGP12.phx.gbl...
>> My Foxpro Application EXE file is on Windows 2000 Server and its paste
>> shortcut on every client running windows 98, do I have to write this
>> FILES
>> parameter on every client machine's config.sys of windows 98, or just the
>> Windows 2000 Server, where EXE resides.
>>
>> Best Regards,
>>
>
> The FILES setting must be on every client.
> It's useless on the server. (unless the application is run on the server)
> ( In CONFIG.SYS on win98 / CONFIG.NT on XP )
> I use FILES=100
> My old DOS application needs 60, but it's better to be safe.
>
>
>



Re: Too many files open Error in Foxpro 2.6 for Dos, under Windows XP ? by Rolf

Rolf
Wed Jan 25 05:06:09 CST 2006

> As I told you, the Application is running on the Server, its EXE and All
> DBF files are on a Shared Folder in Server running Windows 2000 server,
> however all clients are using that EXE file from their pcs, running
> windows 98.

Placing the EXE file on the server does not make the application run on the
server.
The application is running on the workstation where it is started.

> Do I need to mention BUFFERS=?? with FILES or not necessary ?

I have never seen any difference related to the BUFFERS setting.
FILES is what you will have to adjust.



Re: Too many files open Error in Foxpro 2.6 for Dos, under Windows XP ? by Nick

Nick
Wed Jan 25 05:16:24 CST 2006

This means that the EXE is running in each client memory, so the FILES
setting must be on every client.
Not needed, but BUFFERS=100 it's a good value.

Have a nice day (or night),
Nick Pofiris,
ErmisPliroforiki
Athens-Greece
www.ermis-pliroforiki.com.gr

Ï "Luqman" <pearlsoft@cyber.net.pk> Ýãñáøå óôï ìÞíõìá
news:uIevZwZIGHA.312@TK2MSFTNGP09.phx.gbl...
> As I told you, the Application is running on the Server, its EXE and All
DBF
> files are on a Shared Folder in Server running Windows 2000 server,
however
> all clients are using that EXE file from their pcs, running windows 98.
>
> Do I need to mention BUFFERS=?? with FILES or not necessary ?
>
> Best Regards,
>
> Luqman
>
>
>
> "Rolf Lystad" <rolf@invalid.invalid> wrote in message
> news:%23mCjhVZIGHA.740@TK2MSFTNGP12.phx.gbl...
> >> My Foxpro Application EXE file is on Windows 2000 Server and its paste
> >> shortcut on every client running windows 98, do I have to write this
> >> FILES
> >> parameter on every client machine's config.sys of windows 98, or just
the
> >> Windows 2000 Server, where EXE resides.
> >>
> >> Best Regards,
> >>
> >
> > The FILES setting must be on every client.
> > It's useless on the server. (unless the application is run on the
server)
> > ( In CONFIG.SYS on win98 / CONFIG.NT on XP )
> > I use FILES=100
> > My old DOS application needs 60, but it's better to be safe.
> >
> >
> >
>
>



Re: Too many files open Error in Foxpro 2.6 for Dos, under Windows XP ? by Luqman

Luqman
Wed Jan 25 06:12:38 CST 2006

ok Nick, Thanks for your advise, I will do so.

Best Regards,

Luqman

"Nick Porfiris" <nickpor@ermis-pliroforiki.com.gr> wrote in message
news:u2nLJCaIGHA.604@TK2MSFTNGP14.phx.gbl...
> This means that the EXE is running in each client memory, so the FILES
> setting must be on every client.
> Not needed, but BUFFERS=100 it's a good value.
>
> Have a nice day (or night),
> Nick Pofiris,
> ErmisPliroforiki
> Athens-Greece
> www.ermis-pliroforiki.com.gr
>
> Ï "Luqman" <pearlsoft@cyber.net.pk> Ýãñáøå óôï ìÞíõìá
> news:uIevZwZIGHA.312@TK2MSFTNGP09.phx.gbl...
>> As I told you, the Application is running on the Server, its EXE and All
> DBF
>> files are on a Shared Folder in Server running Windows 2000 server,
> however
>> all clients are using that EXE file from their pcs, running windows 98.
>>
>> Do I need to mention BUFFERS=?? with FILES or not necessary ?
>>
>> Best Regards,
>>
>> Luqman
>>
>>
>>
>> "Rolf Lystad" <rolf@invalid.invalid> wrote in message
>> news:%23mCjhVZIGHA.740@TK2MSFTNGP12.phx.gbl...
>> >> My Foxpro Application EXE file is on Windows 2000 Server and its paste
>> >> shortcut on every client running windows 98, do I have to write this
>> >> FILES
>> >> parameter on every client machine's config.sys of windows 98, or just
> the
>> >> Windows 2000 Server, where EXE resides.
>> >>
>> >> Best Regards,
>> >>
>> >
>> > The FILES setting must be on every client.
>> > It's useless on the server. (unless the application is run on the
> server)
>> > ( In CONFIG.SYS on win98 / CONFIG.NT on XP )
>> > I use FILES=100
>> > My old DOS application needs 60, but it's better to be safe.
>> >
>> >
>> >
>>
>>
>
>



Re: Too many files open Error in Foxpro 2.6 for Dos, under Windows XP ? by Andrew

Andrew
Wed Jan 25 09:56:55 CST 2006

"Rolf Lystad" <rolf@invalid.invalid> wrote in message
news:%23W%23tL7YIGHA.3728@tk2msftngp13.phx.gbl...
> "Luqman" <pearlsoft@cyber.net.pk> skrev i melding
> news:%23KflEzYIGHA.3944@tk2msftngp13.phx.gbl...
>> What is the reason for Too many files open Error in Foxpro 2.6 for Dos,
>> under Windows XP ?
>
>
> Your FILES setting in CONFIG.NT is too low

I was playing around with this in FPW2.6 just last week.
My icons to start fox don't specify any special config and yet the FILES
value in

%systemroot%\system32\CONFIG.NT

made absolutely no difference at all. "Too many files" is reported on the
215th table I create but I've no idea where that comes from since my
config.nt specifies FILES=40...

Certainly config.sys made a difference back in Win9x days.
--
Regards
Andrew Howell



Re: Too many files open Error in Foxpro 2.6 for Dos, under Windows XP ? by Matthew

Matthew
Wed Jan 25 12:12:28 CST 2006


"Andrew Howell" <ajh@work> wrote in message
news:O0cUCqcIGHA.3120@TK2MSFTNGP10.phx.gbl...
> "Rolf Lystad" <rolf@invalid.invalid> wrote in message
> news:%23W%23tL7YIGHA.3728@tk2msftngp13.phx.gbl...
>> "Luqman" <pearlsoft@cyber.net.pk> skrev i melding
>> news:%23KflEzYIGHA.3944@tk2msftngp13.phx.gbl...
>>> What is the reason for Too many files open Error in Foxpro 2.6 for Dos,
>>> under Windows XP ?
>>
>>
>> Your FILES setting in CONFIG.NT is too low
>
> I was playing around with this in FPW2.6 just last week.
> My icons to start fox don't specify any special config and yet the FILES
> value in
>
> %systemroot%\system32\CONFIG.NT
>
> made absolutely no difference at all. "Too many files" is reported on the
> 215th table I create but I've no idea where that comes from since my
> config.nt specifies FILES=40...
>
> Certainly config.sys made a difference back in Win9x days.
> --
> Regards
> Andrew Howell

My files setting is 40 in config.nt, I can open about 30 tables. Note that
FPW is not subject to the files setting in config.nt, but FPD is. The OP was
discussing using FPD, not FPW.



Re: Too many files open Error in Foxpro 2.6 for Dos, under Windows XP ? by Andrew

Andrew
Thu Jan 26 02:01:48 CST 2006

"Matthew L Reed" <nousenetspam at dead ice dot us> wrote in message
news:%23Ry8qwdIGHA.3408@TK2MSFTNGP12.phx.gbl...
> My files setting is 40 in config.nt, I can open about 30 tables. Note that
> FPW is not subject to the files setting in config.nt, but FPD is. The OP
> was discussing using FPD, not FPW.

Yes I noticed that, I suppose it works differently to FPD. I assumed it was
the same since they are both running in ntvdm and they both relied on
config.sys FILES= in 9x days.

--
Thanks
Andrew Howell



Re: Too many files open Error in Foxpro 2.6 for Dos, under Windows XP ? by Matthew

Matthew
Thu Jan 26 10:03:23 CST 2006


"Andrew Howell" <ajh@work> wrote in message
news:%23vGeb9kIGHA.3936@TK2MSFTNGP12.phx.gbl...
> "Matthew L Reed" <nousenetspam at dead ice dot us> wrote in message
> news:%23Ry8qwdIGHA.3408@TK2MSFTNGP12.phx.gbl...
>> My files setting is 40 in config.nt, I can open about 30 tables. Note
>> that FPW is not subject to the files setting in config.nt, but FPD is.
>> The OP was discussing using FPD, not FPW.
>
> Yes I noticed that, I suppose it works differently to FPD. I assumed it
> was the same since they are both running in ntvdm and they both relied on
> config.sys FILES= in 9x days.
>

I'm curious why they are different. We can't really test to see if FPW
passes the 25x file limit of DOS apps in general because it doesn't have
that may work areas. If you look at the About screens, it tells you that
there are 255 file handles available (how does it know that?). If I start
to create files using FCREATE(), I can create 231 files before the file
create attempt fails. I still dual boot my boxes to Win98 (so I can do hard
drive maintenance that XP/2000 does not allow), so I'll play with this on
one of my Win98 boxes this weekend. Just for fun, I'll try it under wine and
see what happens.