system.windows.forms.dll附加信息中出现未处理的“system.io.filenotfoundexception”类型异常:找不到指定的模块。在Windows应用程序中

编程入门 行业动态 更新时间:2024-10-28 18:28:00
本文介绍了system.windows.forms.dll附加信息中出现未处理的“system.io.filenotfoundexception”类型异常:找不到指定的模块。在Windows应用程序中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我得到错误 -

Hi , Im getting Error-

An unhandled exception of type 'System.IO.FileNotFoundException' occurred in system.windows.forms.dll Additional information: The specified module could not be found.

在Windows应用程序中显示窗体,使用visual studio 2005 其vb windows应用程序。

in windows application while showing windows form, using visual studio 2005 Its vb windows application.

Private Sub mnuCustomerAcknoledgements_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles mnuCustomerAcknoledgements.Click MNU = mnuCustomerAcknoledgements.Text If Not IsNothing(objCustAck) Then If Not objCustAck.IsDisposed Then objCustAck.WindowState = FormWindowState.Normal ' Optional objCustAck.BringToFront() ' Optional Else objCustAck = New frmCustacknowledgeForm() objCustAck.MdiParent = Me objCustAck.Show() End If Else objCustAck = New frmCustacknowledgeForm() objCustAck.MdiParent = Me objCustAck.Show() End If End Sub

任何帮助表示赞赏......! Thannk You ....! 我尝试了什么: 重新加载所有相关的DLL ..试过在论坛中找到的很多解决方案,仍然面临同样的问题。

Any help appreciated...! Thannk You....! What I have tried: reloaded all related DLLs.. Tried many solutions found in forums, still facing the same problem.

推荐答案

从调试器。 进入菜单:Debug ... Exceptions并勾选thrown列中的所有内容。按OK。 运行你的应用程序,当抛出异常时,调试器将停止并显示它发生的位置。 这应该允许你查看通话堆叠并确切地看到它发生时你想要做什么,这应该可以帮助你发现问题所在的区域。 我们做不到对于你 - 我们无法访问你的EXE,更不用说你的代码了,你需要代码来解决它。 所以使用调试器,并尝试找出它尝试的文件使用。但它可能在你的表单构造函数代码中,所以它调用或做的东西,我们只是无法访问它 - 所以由你来找到实际的信息! Start with the debugger. Go to the menu: "Debug...Exceptions" and tick everything in the "thrown" column. Press OK. Run your app, and when the exception is thrown, the debugger will halt and show you where it happened. That should allow you to look through the call stack and see exactly what you are trying to do when it occurred, and that should help you to spot the area the problem is in. We can't do that for you - we don't have access to your EXE much less your code, and you need the code to work it out. So use the debugger, and try to spot what file it is trying to use. But it's probably in your form constructor code, so something it calls or does, and we just don't have access to it - so it's up to you to find actual information!

确保那个属性AssemblyCulture是空的 Make sure that property AssemblyCulture is empty [assembly: AssemblyCulture("")]

如果我设置文化

My library doesn't work if I set the culture

更多推荐

system.windows.forms.dll附加信息中出现未处理的“system.io.filenotfoundexception”类型异常:找不到指定的模

本文发布于:2023-11-09 17:01:14,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1572929.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:找不到   应用程序   模块   异常   类型

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!