开发者

How can I use DDE with Javascript without using Active X?

I'm trying to find a way to do the equ开发者_运维百科ivalent of

comm = window.event.srcElement._command;
if(comm){
    xlApp = new ActiveXObject("Excel.Application");
    var app = xlApp.DDEInititate(".....", "....");
    xlApp.DDEExecute(app,comm);
    xlApp.DDETerminate(app);
    app = "";
    xlApp.Quit();
}

without the use of an activeX object. Are there any frameworks out there that can accomplish this?


Pure JavaScript can't communicate with other applications or shared libraries.

EDIT: You might be able to do it with a [Java applet] (with extra permissions), and there are ways to communicate between Java and JavaScript.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜