Citrix上Shdocvw.shellwindows的问题 [英] Problem with Shdocvw.shellwindows on Citrix

查看:123
本文介绍了Citrix上Shdocvw.shellwindows的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用VB6应用程序启动特定的URL并发布参数。



第二次当我尝试使用新参数打开URL时,我是搜索所有打开的windoes以查找此URL是否已打开然后使用相同的浏览器进行刷新。



我这样做是通过使用Shdocvw.shellwindows循环遍历所有窗口。这在我的桌面上工作得很好。问题是当我从Citrix服务器运行此应用程序时(我的应用程序也在Citrix上托管),当我尝试实例化Shdocvw.shellwindows时它会抛出错误。



之后一些研究我发现这是因为Citrix没有explorer.exe因此错误。



有些人可以在不使用Shdocvw的情况下为我提供搜索IE窗口的替代方案。 Shellwindows。这将是一个很大的帮助。



如果需要任何信息,请告诉我



谢谢。

DD

I am using a VB6 application to launch a specific URL and post parameters.

Second time when I am trying to open the URL with new parameters, I am searching all the open windoes to find if this URL is already opened then use the same browser for refresh.

I am doing this by looping through all windows using Shdocvw.shellwindows. this works perfectly fine on my desktop. The problem is when I run this application from Citrix server (my application is hosted on Citrix as well) it throws error when I try to instantiate Shdocvw.shellwindows.

After some research I found that this is because Citrix does not have explorer.exe and hence the error.

Can some provide me with alternatives to search IE windows without using Shdocvw.Shellwindows. it would be a great help.

Let me know if any information is required

Thank you.
DD

推荐答案

首先我认为你的意思是iexplore.exe而不是explorer.exe



基本上你的项目依赖于 mshtml.dll SHDocVw.dll ,它们通常随Internet Explorer一起提供。



使用您的应用程序将这两者安装到Citrix服务器上... Visual Studio 6有一个安装功能,它将列出所有项目依赖项,以及所有项目依赖项将需要安装在运行您的应用程序的计算机上。
Firstly I think you mean iexplore.exe not explorer.exe

Essentially your project depends on mshtml.dll and SHDocVw.dll which normally come shipped with Internet Explorer.

Install both of those onto the Citrix server with your application... Visual Studio 6 has a setup feature that will list all of the project dependencies, and all of them will need to be installed on the machine running your application.


这篇关于Citrix上Shdocvw.shellwindows的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆