Windows Creator更新(2017-12)获取“加载期间发生错误”后 [英] After Windows Creator update(2017-12) getting "Errors occurred during load"

查看:58
本文介绍了Windows Creator更新(2017-12)获取“加载期间发生错误”后的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我的VSTO加载项在Windows创建者更新2017-12后停止工作。已经有4位客户在使用Windows 10,Excel 2010或Excel 2016进行更新后确认了我没有加载。我更新了我的电脑,我的项目对我也不起作用。

My VSTO Add-in stopped working after windows creators update 2017-12. Already 4 clients confirmed me after update using Windows 10, Excel 2010 or Excel 2016 it does not load. I've update my PC and my project does not work for me too.

我收到了"加载过程中出现错误"。 - Microsoft Visual Basic for Application。

I'm receiving "Erros occured during load." - Microsoft Visual Basic for Application.

我试图修复Office没有帮助。

I tried to Repair Office does not helped.

我在2016年试过 - 在线修复,没有帮助。

I tried on 2016 - Online repair, does not helped.

尝试重新安装整个程序 - 没有帮助。

Tried reinstall whole program - does not helped.

改变了用户并且它正在工作......创建了新的用户 - 工作。回到旧用户 - 不工作。甚至无法调试。请帮忙找到解决方案。创建新Windows用户的解决方案 - 它不是客户端的解决方案。

CHANGED the user and it's working... created new user - working. Back to old user - not working. Can't even debug. Please help to find solution. The solution to create new windows user - it's not a solution for Clients.

如何加载VSTO项目:

How do i Load VSTO project:

用户启动Login.exe表单在按下"OK"后,在VB.NET上完成它正在打开Excel文件,并启动Module Sub:

User launching Login.exe Form which is done on VB.NET, after pressing "OK" it's opening Excel file, and launching Module Sub:

... ...
wb = .Workbooks.Open(MyKat.pKat&" MyFile.xlsm" ,,, True)

  .Visible = True

.Run(" MyFile.xlsm"!Module3.StartProgram")

...
wb = .Workbooks.Open(MyKat.pKat & "MyFile.xlsm", , True)
 .Visible = True
.Run("MyFile.xlsm"!Module3.StartProgram")

...

在StartProgram Sub中:

In StartProgram Sub:

ComAddinName =工作簿("MyFile.xlsm")。表格("Sheet1") .Range(" ComAddinName")。值

Application.COMAddIns.Item(ComAddinName).Connect = True

Application.DisplayStatusBar = True

ComAddinName = Workbooks("MyFile.xlsm").Sheets("Sheet1").Range("ComAddinName").Value
Application.COMAddIns.Item(ComAddinName).Connect = True
Application.DisplayStatusBar = True

此代码上次更改了2013 ..

This code last time was changed 2013..

推荐答案

Hello Vytautas Astera,

Hello Vytautas Astera,

此错误消息似乎来自VBA。您是否可以尝试调试并告诉我们哪个行代码会出现此错误?

This error message seems come from VBA. Could you try to debug and tell us which line code would get this error?

现在,您正尝试通过VBA代码加载VSTO项目,对吗?

Now, you are trying to load your VSTO project via VBA code, right?

如果您尝试手动加载VSTO项目,是否会出现此错误?

If you try to load your VSTO project manually, would you get this error?

如果您尝试加载另一个加载项,可能是通过VBA加载,你会得到这个错误吗?

If you try to load another add-in which could be loaded via VBA, would you get this error?

如果你将你的窗户还原到以前的版本,你会得到这个错误吗?

If you revert your windows to previous version, would you get this error?

最好的问候,

Terry


这篇关于Windows Creator更新(2017-12)获取“加载期间发生错误”后的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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