|
|||
|
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? |
|
|||
|
It depends on which type of activex you choose to use,
normaly every kind of activex has it's own manual,u can find them in their official web sites. If you want to use some of Microsoft Activex, I suggest you to download the OLE/COM Object Viewer http://www.microsoft.com/windows2000.../oleview-o.asp "View type library contents in Oleview to determine what methods, properties, and events a Microsoft ActiveX control supports... " |
|
|||
|
|
|
|||
|
What if walk through all objects properties?
Something like x = new ActiveXObject("word.application"); var str=''; for(i in x) str+=i; trace(str); But it does not work. Even in JavaScript works. Is it posible in FFish? Maybe I made some mistake? |
|
|||
|
that wouldn't solve my problem.
I would like to view the wordfile (with the exact layout) With the pdf-ActiveX the startupscreen from Acrobat reader popped out and I could view the entire pages and acrobatcontrols within my projector. I would like the same thing, but with wordfiles. I would like to find an activeX or a wordviewer that can work that way with swfkit |
|
|||
|
Hi meester,
SWFKit doesn't support OLE in-place activation, so it's very hard to edit a doc file from within SWFKit. But the richedit control supports embeded OLE object, there might be a way to make it work like you said. We will let you know when we have found the solution. |
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|