Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
STRTOFILE writes to file with printer name
Message
From
05/09/2001 10:57:50
Patrick O'Neil
American Specialty Information Services
Roanoke, Indiana, United States
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00552012
Message ID:
00552521
Views:
12
ed -

thanks for your recommendations. i'll be trying those classes.

my real and original object was to be able to open and print a text
file from VFP. i could not find an app like notepad or wordpad
that is an OLE server. (maybe i didn't look hard enough or didn't
look in the right place).

what i ended up doing in the meantime, was to create a table called
TEXTBL with 1 field called io_line C(100). i fopened the text file and
read each line with FGETS, appending each line as a record to TEXTBL.

then just did REPORT FORM rpt_TXTRPT TO PRINTER PROMPT NOCONSOLE, where
the report rpt_TXTRPT just has a detail line with one full-width field
for io_line. (no grouping, labels, headers, or footers).

crude, but simple. talk about going around the barn 3 times to get in
the door.

thanks again
patrick
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform