Thread: ActiveX objects
View Single Post
  #1 (permalink)  
Old 06-02-2003, 08:33 AM
coviex coviex is offline
Junior Member
 
Join Date: Jun 2003
Posts: 6
Default ActiveX objects

Where can I find something like ActiveX manual with all object, their methods and properties?

For example here is extact from help:
-------------------------------------------------
createControl

Description

Creates an embeded ActiveX control in the projector.



//Embed a Microsoft Media Player in the projector:

var mplayer = createControl("MediaPlayer.MediaPlayer.1");

//set the placement of the media player

mplayer.window.move(0, 0, 200, 200);

//Open an avi

mplayer.activex.Open("c:\\demo.avi");
-------------------------------------------------

or

-------------------------------------------------
//Example1 - create an ActiveXObject by specified a class name
word = new ActiveXObject("word.application");
word.Visible = true;
trace(word.Visible);
word.Documents.Add();
word.Selection.TypeText("This is a test...");
word.Documents[1].SaveAs("c:\\test.doc");
word.Quit();
-------------------------------------------------

But how do I know that I can use "Open" to open avi
or "SaveAs" to save Word document?

I think it must be some manual somewhere.
Can you give any links?
Reply With Quote