Click here to Skip to main content
15,887,746 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
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.
Posted
Updated 3-Oct-17 14:56pm
Comments
A_Griffin 3-Oct-17 11:33am    
DO you have the same version(s) of the .NET framework installed on each machine? IS the app targeting a framework that is installed on the W10 and Server machines? You can check (and set) what version to target when building it (via the project properties pages.)
AnvilRanger 3-Oct-17 12:17pm    
Check the Event Log on your Windows 10 and Windows Server machine. It can provide you with more information.

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.
 
Share this answer
 
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.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900