Ghi
Quyền truy cập vào trang này yêu cầu sự cho phép. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Quyền truy cập vào trang này yêu cầu sự cho phép. Bạn có thể thử thay đổi thư mục.
Visual Basic language keywords and run-time library members are organized by purpose and use.
| Action | Language element |
|---|---|
| Access or create a file. | FileOpen |
| Close files. | FileClose, Reset |
| Control output appearance. | Format, Print, SPC, TAB, FileWidth |
| Copy a file. | FileCopy |
| Get information about a file. | EOF, FileAttr, FileDateTime, FileLen, FreeFile, GetAttr, Loc, LOF, Seek |
| Get or provide information from/to the user by means of a control dialog box. | InputBox, MsgBox |
| Manage files. | Dir, Kill, Lock, Unlock |
| Read from a file. | FileGet, FileGetObject, Input, InputString, LineInput |
| Return length of a file. | FileLen |
| Set or get file attributes. | FileAttr, GetAttr, SetAttr |
| Set read-write position in a file. | Seek |
| Write to a file. | FilePut, FilePutObject, Print, Write, WriteLine |
See also
Cộng tác với chúng tôi trên GitHub
Bạn có thể tìm thấy nguồn cho nội dung này trên GitHub, nơi bạn cũng có thể tạo và xem xét các vấn đề cũng như yêu cầu kéo. Để biết thêm thông tin, hãy xem hướng dẫn cộng tác viên của chúng tôi.