Тема: HTML в HTML
Показать сообщение отдельно
Старый 23.10.2001, 06:28
De$truction Device вне форума Посмотреть профиль Отправить личное сообщение для De$truction Device Найти все сообщения от De$truction Device
  № 12  
De$truction Device
 
Аватар для De$truction Device

Регистрация: Sep 2001
Адрес: Россия, Красноярск
Сообщений: 135
Отправить сообщение для De$truction Device с помощью ICQ
Можно использовать ActiveX в js ... посмотри спецификации по js...

будет выглядеть примерно так(пример из спецификации по js5.0):

var fso, f1, ts, s;
var ForReading = 1;
fso = new ActiveXObject("Scripting.FileSystemObject");
f1 = fso.CreateTextFile("c:\\testfile.txt", true);
// Write a line.
Response.Write("Writing file <br>");
f1.WriteLine("Hello World");
f1.WriteBlankLines(1);
f1.Close();
// Read the contents of the file.
Response.Write("Reading file <br>");
ts = fso.OpenTextFile("c:\\testfile.txt", ForReading);
s = ts.ReadLine();
Response.Write("File contents = '" + s + "'");
ts.Close();