Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Extracting data from a NotePad file
Message
From
08/02/2007 07:14:11
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
08/02/2007 07:00:26
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01193522
Message ID:
01193531
Views:
8
Steven,

A notepad file is a plain text file.

You can open in a variety of ways as
#1 low level like FOPEN()

#2 FILETOSTR()

#3 if the file containes something like a CSV or SDF format you may consider APPEND FROM .. TYPE.

#1 and #2 will need string operations to get the data.

See the commands and funtions for further help


HTH
Agnes
>Hi all,
>
>I need to access a notepad file, and then use VFP functions to sort out data from it. Could anyone tell me how to open Notepad through VFP and then how to pick out text for editing? Thanks.
>
>Regards,
>
>Steve.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform