You can use this constructor for creating new objects. You need to specify the kind of object to be created in the string argument value. For example, to create a Microsoft Word document, pass the string "Word.Document" to the constructor.
You can also specify a second optional argument to locate the application on a remote server.
Here are some example applications you can invoke:
Word.Document - Create an empty Word document
Excel.Sheet - Create an empty Excel spreadsheet
Microsoft.XMLDOM - Create a new XML document
Other alternatives depend on the applications you have installed on your client system.
See also: | GetObject() |
Prev | Home | Next |
ActiveXObject object | Up | Add (+) |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |