本文介绍了如何在outlook上拥有自己的主页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我需要更改"Outlook数据文件"主页,使其成为用户可以从中启动的门户网站一些程序。我创建了一个带有调用此函数的链接的html文件:

i need to change 'Outlook Datafile' homepage to make it a portal from which the user can start some programs. I have created a html file with links that call this function :

function RunFile(sParam){

WshShell = new ActiveXObject(" WScript.Shell");

WshShell.Run('myexe',1 ,false);

        }

function RunFile(sParam) {
WshShell = new ActiveXObject("WScript.Shell");
WshShell.Run('myexe ', 1, false);
        }

我已经测试了html,它自己运行正常,但是当我在outlook中使用它时它会阻塞'WshShell = new ActiveXObject(" WScript.Shell");'

I have test the html, it runs ok on its own, but when i use it from outlook it blocks on 'WshShell = new ActiveXObject("WScript.Shell");'

我也尝试过使用hta文件,结果完全相同。

i have tried with a hta file too, with the exact same result.

任何想法让它工作或如何做同样的事情在vba的事情?

Any idea ho to have it working or how to do the same thing in vba ?

提前致谢

推荐答案

http://msdn.microsoft.com/en-us/library/office/fp161023(v = office.15)的.aspx

不,您不能在Office的应用程序上使用ActiveX控件。如果要集成特定于Windows的功能,例如,获得对麦克风的访问权限或下载文件,可以在弹出的浏览器窗口中执行此操作。"

"开发人员不应在Office的应用程序中使用ActiveX控件,因为ActiveX控件不支持应用平台的跨平台特性。"


这篇关于如何在outlook上拥有自己的主页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-24 23:54