aboutsummaryrefslogtreecommitdiff
path: root/files/ja/archive/web/javascript/microsoft_extensions/activexobject/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/ja/archive/web/javascript/microsoft_extensions/activexobject/index.html')
-rw-r--r--files/ja/archive/web/javascript/microsoft_extensions/activexobject/index.html92
1 files changed, 0 insertions, 92 deletions
diff --git a/files/ja/archive/web/javascript/microsoft_extensions/activexobject/index.html b/files/ja/archive/web/javascript/microsoft_extensions/activexobject/index.html
deleted file mode 100644
index 63682a9940..0000000000
--- a/files/ja/archive/web/javascript/microsoft_extensions/activexobject/index.html
+++ /dev/null
@@ -1,92 +0,0 @@
----
-title: ActiveXObject
-slug: Archive/Web/JavaScript/Microsoft_Extensions/ActiveXObject
-translation_of: Archive/Web/JavaScript/Microsoft_Extensions/ActiveXObject
----
-<div>{{JSRef}}</div>
-
-<div class="warning"><strong>Warning</strong>: このオブジェクトはMicrosoft拡張であり、Internet Explorerでのみサポートされます。Windows 8.x Store appではサポートされません。</div>
-
-<p>The <strong><code>ActiveXObject</code> Object</strong> enables and returns a reference to an automation object.</p>
-
-<p>This object is used only to instantiate automation objects, and has no members.</p>
-
-<h2 id="Syntax">Syntax</h2>
-
-<pre class="notranslate"><code>let newObj = new ActiveXObject(<em>servername</em>.<em>typename</em>[, <em>location</em>])
-</code></pre>
-
-<h3 id="Parameters">Parameters</h3>
-
-<dl>
- <dt><code>servername</code></dt>
- <dd>オブジェクトを提供するアプリケーションの名前。</dd>
- <dt><code>typename</code></dt>
- <dd>The type or class of the object to create.</dd>
- <dt><code>location</code> {{optional_inline}}</dt>
- <dd>The name of the network server where the object is to be created.</dd>
-</dl>
-
-<h2 id="Remarks">Remarks</h2>
-
-<p>Automation servers provide at least one type of object. For example, a word-processing application may provide an application object, a document object, and a toolbar object.</p>
-
-<p>You may be able to identify <code>servername.typename</code> values on a host PC in the <code>HKEY_CLASSES_ROOT</code> registry key. For example, here are a few examples of values you may find there, depending on which programs are installed:</p>
-
-<ul>
- <li>
- <p>Excel.Application</p>
- </li>
- <li>
- <p>Excel.Chart</p>
- </li>
- <li>
- <p>Scripting.FileSystemObject</p>
- </li>
- <li>
- <p>WScript.Shell</p>
- </li>
- <li>
- <p>Word.Document</p>
- </li>
-</ul>
-
-<div class="warning">
-<p><strong>Important:</strong> ActiveX objects may present security issues. To use the <code>ActiveXObject</code>, you may need to adjust security settings in Internet Explorer for the relevant security zone. For example, for the local intranet zone, you typically need to change a custom setting to "Initialize and script ActiveX controls not marked as safe for scripting."</p>
-</div>
-
-<p>To identify members of an automation object that you can use in your code, you may need to use a COM object browser, such as the <a href="http://msdn.microsoft.com/library/d0kh9f4c.aspx">OLE/COM Object Viewer</a>, if no reference documentation is available for the Automation object.</p>
-
-<p>To create an Automation object, assign the new <code>ActiveXObject</code> to an object variable:</p>
-
-<pre class="brush: js notranslate">var ExcelApp = new ActiveXObject("Excel.Application");
-var ExcelSheet = new ActiveXObject("Excel.Sheet");
-</pre>
-
-<p>This code starts the application creating the object (in this case, a Microsoft Excel worksheet). Once an object is created, you refer to it in code using the object variable you defined. In the following example, you access properties and methods of the new object using the object variable <code>ExcelSheet</code> and other Excel objects, including the application object and the <code>ActiveSheet.Cells</code> collection.</p>
-
-<pre class="brush: js notranslate">// Make Excel visible through the Application object.
-ExcelSheet.Application.Visible = true;
-// Place some text in the first cell of the sheet.
-ExcelSheet.ActiveSheet.Cells(1,1).Value = "This is column A, row 1";
-// Save the sheet.
-ExcelSheet.SaveAs("C:\\TEST.XLS");
-// Close Excel with the Quit method on the Application object.
-ExcelSheet.Application.Quit();
-</pre>
-
-<h2 id="Requirements">Requirements</h2>
-
-<p>Supported in the following document modes: Quirks, Internet Explorer 6 standards, Internet Explorer 7 standards, Internet Explorer 8 standards, Internet Explorer 9 standards, Internet Explorer 10 standards, Internet Explorer 11 standards. Not supported in Windows 8.x Store apps.</p>
-
-<div class="note">
-<p><strong>Note:</strong> Creating an <code>ActiveXObject</code> on a remote server is not supported in Internet Explorer 9 standards mode, Internet Explorer 10 standards mode, Internet Explorer 11 standards mode, and Windows Store apps or later.</p>
-</div>
-
-<h2 id="See_also">See also</h2>
-
-<ul>
- <li><a href="/en-US/docs/Web/JavaScript/Microsoft_JavaScript_extensions">Microsoft JavaScript extensions</a></li>
- <li><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Microsoft_JavaScript_extensions/GetObject">GetObject Function</a></li>
- <li><a href="http://code.msdn.microsoft.com/Unique-Authentication-f32d2da0">Unique authentication using Magic of HTML5/WCF sample app</a></li>
-</ul>