Function Name |
Function |
Statement name |
Function |
Lof |
Length of the returned file number |
Seek |
Specify the next read/write location of the file |
Loc |
Returns the read/write location represented by the file number. |
Kill |
Delete an object |
EOF |
Test the current read/write location and file pointer of the function. Whether the file number is located at the end of the file. |
Filecopy |
Copy a file |
Filelen |
The length of the returned file, in bytes. |
Name |
Rename a file |
Freefile |
Obtain the first one of the unoccupied file numbers. |
Chdrive |
Change current drive |
Seek |
Returns the current read/write location of the file specified by the file number. |
Chdir |
Change current folder |
Shell |
Run the string parameter "pathname" to specify Executable files |
Mkdir |
Create a new folder |
Curdir |
Returns a string indicating the specified drive. Current path |
Rmdir |
Deletes a specified directory or folder. |
Dir |
Returns a file name, directory name, or Folder name string |
|
|
File System Controls |
Attribute |
Event |
DriveListBox (driver list box Control) |
Drive: determines the drive list The top name in the box is displayed. |
Change Click |
DirListBox (directory list box Control) |
Path: indicates the current directory. Listindex: the property value of the subdirectory. Eg: First subdirectory listindex The property value is 0. Listcount: Number of subdirectories List: A string array containing Complete path and directory name for each directory |
Change Click |
FileListBox (file list box Control) |
Path: Specifies the file to be displayed. Directory or folder Path Name Pattern: Specifies File Type displayed Filename: returns the file list box. File Name string selected in |
|
This is also linked with the internal functions in Chapter 2 and the VB controls in Chapter 4. There are many similarities in usage and knowledge types, which can be analogous to learning, you can also take this part to the front and learn, but the problem solved is different!