是否可以从 Silverlight 启动客户端应用程序?
我有一个简单的公司门户,允许用户从浏览器启动他们的应用程序。 超链接中的 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您可以从 silverlight 调用 javascript,就像使用带有链接的 javascript 一样。
例如,使用参数调用
somefunction
:有一个关于 Html 浏览器集成的精彩视频 这里
You can call javascript from silverlight just as use use javascript with links.
For example to call
somefunction
with parameter:There's a good video about Html Browser integration here
Silverlight 4 已经发布,您应该重新审视这一点。 您可以从此处了解如何运行 exe。
You should revisit this now that Silverlight 4 is out. You can see how to run an exe from HERE.