是否可以从 Silverlight 启动客户端应用程序?

发布于 2024-07-21 04:24:41 字数 287 浏览 5 评论 0原文

我有一个简单的公司门户,允许用户从浏览器启动他们的应用程序。 超链接中的 URL 被传递(使用 Javascript)到签名的小程序以实际启动客户端应用程序。 所有客户端都是 XP 或 Vista,并且都运行 IE6 或 IE7。

我最近一直在关注 Silverlight,想知道我是否可以做类似的事情。 理想情况下,我希望通过 Silverlight 完成所有工作并摆脱小程序。

是否可以从 Silverlight 调用客户端应用程序? 我可以签署 Silverlight 应用程序以赋予其额外权限吗?

I have a simple company portal which allows users to start their apps from the browser. The URLs in the hypelinks are passed (using Javascript) to a signed applet to actually start the client-side apps. All clients are XP or Vista and all run IE6 or IE7.

I have recently been looking at Silverlight and am wondering if I could do something similar. Ideally, I'd like to do everything from Silverlight and get rid of the applet.

Is it possible to call client-side apps from Silverlight? Can I sign a Silverlight app to give it extra rights?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

弃爱 2024-07-28 04:24:41

您可以从 silverlight 调用 javascript,就像使用带有链接的 javascript 一样。

例如,使用参数调用 somefunction

HtmlPage.Window.CreateInstance("somefunction", new string[] { "parameter1" });

有一个关于 Html 浏览器集成的精彩视频 这里

You can call javascript from silverlight just as use use javascript with links.

For example to call somefunction with parameter:

HtmlPage.Window.CreateInstance("somefunction", new string[] { "parameter1" });

There's a good video about Html Browser integration here

傾旎 2024-07-28 04:24:41

Silverlight 4 已经发布,您应该重新审视这一点。 您可以从此处了解如何运行 exe。

You should revisit this now that Silverlight 4 is out. You can see how to run an exe from HERE.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文