 |
| Pocket PC: custom RAPI class for operating with files and folders on mobile device |
User rating: 0/10 (0 votes) | |
|
|
 |
 |
| Before you begin: |
 |
The object store is the permanently mounted RAM-based storage area that contains the built-in file system, the system registry, and property databases.
Solutions based on this class:
Folder Viewer
Creating directories and files
Note that this class creates several Collections, which makes it unusable in older Visual FoxPro versions. |
 |
 |
| |
| |
Members area. Log in to view this example. |
|
| |
|
|
|
|
|
 |
User rating: 0/10 (0 votes) | |
| 10006 bytes Created: 2004-07-04 10:13:50 Modified: 2011-12-10 09:20:22 Visits in 7 days: 180 |
|
 |
 |
| Listed functions: |
 |
|
 |
 |
| My comment: |
 |
Class Tfiles is a collection of Tfiles objects. Use Tfiles methods GetFolders and GetFiles to populate this collection. Other methods included:
CreateDirectory
RemoveDirectory
PathExists
MoveFile
CopyFile
DeleteFile
FileExists
FileToString
StringToFile
Class Tfile implements the File Object and contains only properties: fileattributes, creationtime, lastaccesstime, lastwritetime, filesize, filename.
Similar to FoxPro, functions FOPEN, FCREATE, FWRITE, FGETS can be fairly easily implemented based on existing class members.
I was not able find an equivalent of Get /SetActiveDirectory functionality in RAPI library.
|
 |
 |
| Word Index links for this example: |
 |
|
|
 |
 |
| Translate this page: |
 |
|