http://www.webreference.com/js/column55/activex.html
..........................
The ActiveXObject() constructor function creates an instance of an OLE Automation (ActiveX) object. once an object is created, you refer to it in code using the object variable you defined.
.........................
ex) java script기반 file access example
function test3(string) {
var fs = new ActiveXObject("Scripting.FileSystemObject");
fsp = fs.createtextfile("C:\\result.xml");
fsp.write(string);
fsp.close();
document.write("test3 complete");
}
'JavaScript' 카테고리의 다른 글
슬라이드쇼 (0) | 2011.06.10 |
---|---|
구구단 샘플 (0) | 2011.06.10 |
일정 시간이 경과후에 함수 호출 (0) | 2008.08.26 |
html script, javasciprt 수행 순서 (0) | 2008.08.26 |
document.location.href (0) | 2008.08.26 |