티스토리 뷰
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Microsoft_Extensions/ActiveXObject
ActiveXObject
The ActiveXObject Object enables and returns a reference to an automation object.
developer.mozilla.org
var activeX = new ActiveXObject(appName.type [, location]);
Examples>
var excelApp = new ActiveXObject(“Excel.Application”);
var excelChart = new ActiveXObject(“Excel.Chart”);
var excelSheet = new ActiveXObject(“Excel.Sheet”);
var wordApp = new ActiveXObject(“Word.Application”);
var wordDocument = new ActiveXObject(“Word.Document”);
var shell = new ActiveXObject(“WScript.Shell”);
Run Method (Windows Script Host)
Run Method (Windows Script Host) 07/17/2015 2 minutes to read In this article --> Runs a program in a new process. Syntax object.Run(strCommand, [intWindowStyle], [bWaitOnReturn]) Arguments objectWshShell object. strCommandString value indicating the comma
docs.microsoft.com
object.Run(strCommand, [intWindowStyle], [bWaitOnReturn])
Examples>
var objShell = new ActiveXObject("WScript.Shell");
var runProgram = "notepad.exe ";
var retVal = objShell.run(runProgram, 1, true);
alert("notepad[" + retVal + "]");
Examples>
var objShell = new ActiveXObject("WScript.Shell");
var runProgram = "cmd.exe /k notepad.exe";
var retVal = objShell.run(runProgram, 1, true);
alert("cmd[" + retVal + "]");
'ETC' 카테고리의 다른 글
(i) 안드로이드 개발자 등록 (0) | 2019.08.13 |
---|---|
(i) RS232C & RS485 & ASCII CODE (0) | 2019.07.26 |
(URL) 인터넷 아카이브(Internet Archive) (0) | 2019.07.19 |
(i) Run ASP.NET Core 2.0 Project after Installing IIS on Windows Server 2016 (0) | 2019.07.11 |
(i) MSSQL + DELPHI + varbinary + INSERT + TUniQuery (0) | 2019.07.09 |
- Total
- Today
- Yesterday
- READ_PRIVILEGED_PHONE_STATE
- FMX
- 키오스크
- .dproj
- 비에이블
- delphi push message
- 솔로원DB복제
- Delphi
- 안드로이드관리자
- Grijjy
- SOLO1ASP
- Could not convert variant of type (Null) into type (OleStr)
- 앱관리자
- TT쿼리
- 비에이블스터디카페
- WidevineID
- push server
- KSNetPOSLib.ocx
- Android 64
- DelphiZeroMQ
- 식권발매
- Firemonkey
- solomonsystem
- Unable to load project
- RADStudio11
- 솔로몬시스템
- KSNetPOSLib
- 안드로이드_관리자
- mysql db 복구
- 스터디카페
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |