使用webbrowsercontrol加载java applet时,Outlook addin会一直退出 [英] Outlook addin keep quitting when loading java applet using webbrowsercontrol

查看:80
本文介绍了使用webbrowsercontrol加载java applet时,Outlook addin会一直退出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的x64 Outlook Addin在加载java applet时遇到了一些问题。在My Outlook AddIn中,我使用webBrowerControl加载java applet。我在windows7 x64和MS Outlook 2010 x64中测试过。完全没有问题。但是当我去客户端并安装时,问题就开始了。当webBrowsercontrol加载java applet时,整个outlook崩溃并退出。有没有导致这个问题的设置?客户端环境使用的是windows7 x64和MS Outlook2010 x64。他们有x64和x32 ​​java 7更新42.



以下是导致问题的来源



  private   void  Form3_Load( object  sender,EventArgs e)
{
try
{
.REFRESH();

字符串 APPLETCHK_URL = System.Configuration.ConfigurationManager.AppSettings [ ELMS_APPLETCHK_URL];
APPLETCHK_URL = SERVERURL + APPLETCHK_URL;
logger.Debug( + APPLETCHK_URL下载Applet);
this .webBrowser1.Url = new System.Uri(APPLETCHK_URL);
logger.Debug( 正在下载完成。);
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
}





错误导致以下行。



  .webBrowser1.Url = 系统.Uri(APPLETCHK_URL); 





谢谢



我的尝试:



开发Outlook AddIn x64。在测试环境中,它正在运行。但是在客户端机器上,它会一直退出Outlook。

解决方案

与加密电子邮件的一些addIn发生冲突,现在正在卸载此邮件后加密addIn。

My x64 Outlook Addin got some problem when loading java applet. In My Outlook AddIn, I use webBrowerControl to load java applet. I tested in windows7 x64 and MS Outlook 2010 x64. There is no issue at all. But the problem is started when I went to customer side and install. When webBrowsercontrol load the java applet, the whole outlook is crash and exit. Is there any setting that cause the this problem? the client environment used windows7 x64 and MS Outlook2010 x64. they have both x64 and x32 java 7 update 42.

Here is the source that cause the problem

private void Form3_Load(object sender, EventArgs e)
    {
        try
        {
            this.Refresh();

            String APPLETCHK_URL = System.Configuration.ConfigurationManager.AppSettings["ELMS_APPLETCHK_URL"];
            APPLETCHK_URL = SERVERURL + APPLETCHK_URL;                
            logger.Debug("Downloading Applet from " + APPLETCHK_URL);
            this.webBrowser1.Url = new System.Uri(APPLETCHK_URL);                
            logger.Debug("Downloading completed.");
        }
        catch (Exception ex)
        {
            MessageBox.Show(ex.Message);
        }
    }



error caused in the following line.

this.webBrowser1.Url = new System.Uri(APPLETCHK_URL); 



Thanks

What I have tried:

Developing Outlook AddIn x64. At testing environment , it is working. but at client machine, it is keep quitting the Outlook.

解决方案

Conflict with some addIn that encrypt the email, now working after unloading this mail encrypt addIn.


这篇关于使用webbrowsercontrol加载java applet时,Outlook addin会一直退出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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