Vb.net程序不适用于windows10和Windows Server 2008企业 [英] Vb.net program does not work with windows10 and windows server 2008 enterprise

查看:368
本文介绍了Vb.net程序不适用于windows10和Windows Server 2008企业的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,



请帮助解决下一期。我有一个应用程序(wpf),它是通过Visual Studio 2013 for windows desktop完成的。它在使用Windows7的本地计算机上运行正常,但它挂在具有Windows10和Windows Server 2008 Enterprise操作系统的计算机上。我的窗口有标签,当用户尝试从一个标签切换到另一个标签时,程序被挂起。请告诉我应该尝试解决这个问题。

问候,

Kateryna



我尝试过的事情:



我甚至不知道该如何处理。我尝试过简单的重新编译,但它根本没用。

Hello,

please help with the next issue. I have an application (wpf) which was done via Visual studio 2013 for windows desktop. It works fine on my local machine with Windows7, but it hangs on machines with Windows10 and Windows Server 2008 Enterprise operation systems. My window has tabs, and program is hanged when user try to switch from one tab to another. Please, advise what I should to try to fix that issue.
Regards,
Kateryna

What I have tried:

I even do not know what to do with that. I tried just simple recompilation, but it did not help at all.

推荐答案

你的问题不负责任。我们不知道你的代码在选项卡切换上做了什么,它应该做什么,你写了什么代码,......什么都没有继续下去。
Your question isn't answerable. We have no idea what your code is doing upon a tab switch, what it's supposed to be doing, what code you've written, ... NOTHING AT ALL to go on.


只有可能的建议是使用调试器来查看你的代码在做什么。

最好在你的应用程序挂起的系统上。



那里是一个工具,可以让您查看代码正在做什么,其名称是调试器。它也是一个很好的学习工具,因为它向你展示了现实,你可以看到哪种期望与现实相符。

当你不明白你的代码在做什么或为什么它做它做的时候,答案就是答案是调试器

使用调试器查看代码正在执行的操作。只需设置断点并查看代码执行情况,调试器允许您逐行执行第1行并在执行时检查变量。



调试器 - 维基百科,免费的百科全书 [ ^ ]

Visual Basic / Visual Studio视频教程 - 基本调试 - YouTube [ ^ ]

初学者的Visual Basic .NET编程 - 断点和调试工具 [ ^ ]



调试器在这里向您展示您的代码正在做什么,您的任务是与它应该做什么进行比较。

没有魔法调试器,它没有找到错误,它只是帮助你。当代码没有达到预期的效果时,你就会接近一个错误。
The only possible advice is to use the debugger to see what your code is doing.
Preferably on a system where your app hangs.

There is a tool that allow you to see what your code is doing, its name is debugger. It is also a great learning tool because it show you reality and you can see which expectation match reality.
When you don't understand what your code is doing or why it does what it does, the answer is debugger.
Use the debugger to see what your code is doing. Just set a breakpoint and see your code performing, the debugger allow you to execute lines 1 by 1 and to inspect variables as it execute.

Debugger - Wikipedia, the free encyclopedia[^]
Visual Basic / Visual Studio Video Tutorial - Basic Debugging - YouTube[^]
Visual Basic .NET programming for Beginners - Breakpoints and Debugging Tools[^]

The debugger is here to show you what your code is doing and your task is to compare with what it should do.
There is no magic in the debugger, it don't find bugs, it just help you to. When the code don't do what is expected, you are close to a bug.


这篇关于Vb.net程序不适用于windows10和Windows Server 2008企业的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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