程序现在无法正常运行 [英] A program don t work properly now
本文介绍了程序现在无法正常运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好
我已经用c#编写了一个程序,该程序最后已经工作了,但是今天它不能正常工作.
有一些问题:
1-当显示父窗体时,也会显示子窗体,因此不能显示.
2-程序可以在调试中正确执行,但是在运行时无法正常运行.
谁可以帮助我?
感谢
解决方案
它正在工作,但现在不是"
我敢肯定,这在我们所有人中都会发生.我编写的用于执行某些FTP操作的程序最近开始失败,代码中没有任何变化-为什么会发生这种情况?
我打开了解决方案,然后开始逐步执行代码.如果愿意,请进行调试.当它碰到失败的行时,我在调试器中查看了Exception-它告诉了我各种有关为什么出错的信息! (结果是FTP目标上进行了一些安全更改)
你为什么不试一试呢?尝试调试程序,看看是否可以弄清为什么它不起作用.
出现此类问题时,我唯一可能得出的结论是"42".
hello
I have writen a program by c#.it had been worked lastly but today it dos not work properly.
there are some problems :
1- when the parent form is shown the child form is shown too that it must not be shown.
2- program perform in debug properly but when it is running it dose not work properly.
who can help me ?
thank
解决方案
"It was working but now it isn''t"
I''m sure this happens to all of us at some point. A program I wrote to perform some FTP operations started failing recently, nothing had changed in the code - so why did this happen?
I opened my solution and started stepping through the code. Debugging, if you like. When it hit a line that failed, I looked at the Exception in the debugger - it told me all sorts of stuff about why it was going wrong! (turns out there were some security changes on the FTP targets)
Why don''t you give this a go? Try and debug your program and see if you can figure out why it no worky.
When problems like this arise, the only possible conclusion I can come to is "42".
这篇关于程序现在无法正常运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文