本文介绍了当在IE(6.0,7.0,8.0)的新弹出窗口中使用VB6.0 .ocx控件以及EToken.exe时,它崩溃了.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好

我已经使用Visual Basic 6.0创建了一个Test.OCX控件[通过选择New-> ActiveX控件],我们还创建了一个cab文件,其中包含将test.ocx控件放进去;根据我们的实现,当用户从IE打开新的POP up窗口时 (版本6.0、7.0、8.0),然后将Test.ocx下载到下载的程序文件中,并且工作正常,但是当用户关闭新打开的弹出窗口(并且etoken.exe在同一台计算机上运行)时,则Internet Explorer崩溃了.

I have created a Test.OCX control using Visual Basic 6.0 [by selecting New --> ActiveX Control] and we have also created a cab file which contains  Test.ocx control into it; As per our implementation when user opens the new POP up window from IE (version 6.0, 7.0, 8.0) then Test.ocx will be downloaded into the downloaded program files and it is working fine but when user close the newly open pop up window (and etoken.exe is running on the same machine) then Internet Explorer gets crashed.

我们还确认,当etoken.exe没有运行时,Internet Explorer不会崩溃.

We have also confirmed that when etoken.exe is not running then Internet Explorer did not get crashed.

但是在相同的情况下,当我们使用Microsoft Standard控件[CHARTWIZ.OCX]时,即使etoken.exe在同一台计算机上运行,​​Internet Explorer也没有崩溃.

But in the same scenario when we used the Microsoft Standard control [CHARTWIZ.OCX] then Internet explorer did not crashed even etoken.exe is running at the same machine.

为解决上述问题,我们还创建了一个空白的.OCX控件,这意味着我们刚刚选择了选项New-> Active X控件并将其制作并创建一个.cab文件,当用户在IE POP UP窗口中使用此.ocx控件并关闭新打开的控件时 弹出窗口,并在计算机上运行etoken.exe,然后IE也崩溃了.

To resolve the above issue we also created a blank .OCX control means we have just selected the option New --> Active X control and MAKE it and created a .cab file and when user uses this .ocx control in the IE POP UP window and close the newly opened pop up window and etoken.exe is running at the machine then also the IE gets crashed.

根据我们的理解,我们认为在创建.OCX时需要设置一些属性,以便.OCX可以在IE的新建POP上"窗口中使用,并在用户下载时下载到下载的程序文件中.关闭了新打开的POP UP窗口,那么即使etoken.exe正在运行,IE也绝不能崩溃.

As per our understanding we think that there are some properties which we need to set at the time .OCX creation so that .OCX can be used in the New POP up window of IE and download into the downloaded program files and when user closed the newly opened POP UP window then IE must not to be crashed even when etoken.exe is running.

请提出我们需要做的属性或其他方式,以便可以解决上述问题.

Please suggest the properties or other way which we need to do so that above problem can be resolved.

谢谢

Ashish

推荐答案

http://social.msdn.microsoft.com/Forums/zh-CN/vbgeneral/thread/6a0719fe-14af-47f7-9f51-a8ea2b9c8d6b

 


这篇关于当在IE(6.0,7.0,8.0)的新弹出窗口中使用VB6.0 .ocx控件以及EToken.exe时,它崩溃了.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

11-01 16:05