Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要在位于 UNC 共享上的 WebBrowser 控件(SL 4)中打开文档,我认为如果不在客户端上安装某些东西是不可能的......(COM 对象,物理链接......)
你怎么看 ?
这是不可能的,因为 UNC 共享的概念被认为是“跨方案”,类似于您无法从 https:// 提供的应用程序导航到 http:// 页面。
您唯一的选择是使用 COM 直接打开对象。这很简单,使用 Windows shell/脚本主机,它将能够为任何经过身份验证的 UNC 位置发送 shell 运行命令。