system.windows.forms.dll附加信息中出现未处理的“system.io.filenotfoundexception”类型异常:找不到指定的模块。在Windows应用程序中 [英] An unhandled exception of type 'system.io.filenotfoundexception' occurred in system.windows.forms.dll additional information: the specified module could not be found. In windows application

查看:347
本文介绍了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.net windows应用程序。




in windows application while showing windows form, using visual studio 2005

Its vb.net 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”类型异常:找不到指定的模块。在Windows应用程序中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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