Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Text files > 218K

Status
Not open for further replies.

GregMuir

MIS
Oct 18, 2000
5
CA
I've just converted a FPW2.6 prg to VFP5.In the program I create a text file of data.This program runs fine in FPW2.6, but VFP5 gives "invalid coorinates" errors if the text file tries to become > 218KB.
I am useing SET DEVICE TO... and SAY commands to create this file.Any suggestions to overcome this 218K limit would be appreciated.
Thanks
Greg
gmuir@forsyscorp.com
 
Hmm man it's been so long since I had to use 2.6. Is the code long? If not you could post it. I could try it in 6 though I don't know if that would help you. Which makes me ask if you are going to get 6? IMO it's very much worth the $. In your case FILETOSTR() would work. It's a great function along with STRTOFILE(). They greatly increased the speed of all string functions in 6. Or at least 6 with SP3. Don't remember <s> [sig]<p>John Durbin<br><a href=mailto: john@johndurbin.com> john@johndurbin.com</a><br>MCP Visual FoxPro<br>
ICQ VFP ActiveList #73897253[/sig]
 
Hi,

Is it possible to see if SP3 is installed? And what are the advantages of SP3?

Thanks

Charl [sig][/sig]
 
Hi Charl,

Is it possible to see if SP3 is installed?

Select <Help> on the VFP Menu Bar and select <About Microsoft Visual FoxPro> from the subsequent popup menu. At the top of the presented form, the line will read &quot;Microsoft Visual FoxPro 6.0 SP3&quot; if you have SP3 installed. If no SP# is displayed, you have not installed any service packs.

And what are the advantages of SP3?

There were many bug fixes and the most prominent new feature was the ability to COMPILE at run-time. I would highly recommend installing it. Also, they are up to SP4 now.

FWIW, you should have posted this question as a new thread and not in response to this thread because it has no relevance to Greg's question. [sig]<p>Jon Hawkins<br><a href=mailto: jonscott8@yahoo.com> jonscott8@yahoo.com</a><br><a href= > </a><br>The World Is Headed For Mutiny.....When All We Want Is Unity. - Creed[/sig]
 
Ok Jon,

FWIW, you should have posted this question as a new thread and not in response to this thread because it has no relevance to Greg's question.I will do it the next time thanx.

Charl

[sig][/sig]
 
I have a routine that creates text files (actualy .html files) for my web site. A couple of the file are 1.7meg. What ever the problem is it is not FoxPro. There is one major difference from the way you do it and the way I do it. I open/create a file low level =Fopen() / =Fcreate(), populate it with =Fputs() [sig]<p>David W. Grewe<br><a href=mailto:Dave@internationalbid.com>Dave@internationalbid.com</a><br>ICQ VFP ActiveList #46145644[/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top