powered by simpleCommunicator - 2.0.61     © 2026 Programmizd 02
Целевая тема:
Создать новую тему:
Автор:
Закрыть
Цитировать
Форумы / Microsoft Access [игнор отключен] [закрыт для гостей] / сохранить таблицу в формате ЮНИКОД
2 сообщений из 2, страница 1 из 1
сохранить таблицу в формате ЮНИКОД
    #32633768
Kach
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Гость
тут такая беда
нужно таблицу из 10 столбцов сохранить в текстовый файл в формате Юникод
причем разделители столбцов знак ТАБ а строк Ентер
ну с табом допустим непроблема, а в формат Юникод как?
...
Рейтинг: 0 / 0
сохранить таблицу в формате ЮНИКОД
    #32633817
Фотография Unicco
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Участник
MSDNScripting Runtime Library

CreateTextFile Method

Applies To: FileSystemObject Object | Folder Object

Creates a specified file name and returns a TextStream object that can be used to read from or write to the file.

object . CreateTextFile ( filename [, overwrite [, unicode ]])

Arguments
object Required. Always the name of a FileSystemObject or Folder object.
filename Required. String expression that identifies the file to create.
overwrite Optional. Boolean value that indicates whether you can overwrite an existing file. The value is true if the file can be overwritten, false if it can't be overwritten. If omitted, existing files are not overwritten.
unicode Optional. Boolean value that indicates whether the file is created as a Unicode or ASCII file. The value is true if the file is created as a Unicode file, false if it's created as an ASCII file. If omitted, an ASCII file is assumed.

Пример:
Код: plaintext
1.
2.
Dim fso, tf
Set fso = CreateObject("Scripting.FileSystemObject")
Set tf = fso.CreateTextFile("c:\testfile.txt", True, True)
...
Рейтинг: 0 / 0
2 сообщений из 2, страница 1 из 1
Форумы / Microsoft Access [игнор отключен] [закрыт для гостей] / сохранить таблицу в формате ЮНИКОД
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]