Click here to Skip to main content
12,887,779 members (31,772 online)
Rate this:
Please Sign up or sign in to vote.
See more: C# .NET Visual-Studio WPF VS2010 , +
Hello All,

I have created a Wpf application in VS 2010 (.NET Framework 4)
which is able to handle both mouse events and touch events. I have created a setup project for that and tried testing on several machine having Windows 7 as OS. But the application shows some strange behaviour.
It runs well on some machines but doesn't works on others. I didn't found any difference though. What may be the problem?

I found out that on changing the compatibility mode of the application to Windows XP SP2/Windows XP SP3, it runs well on those machines too.
Why this happens?

But then again a problem arises that touch event doesn't works in Windows XP SP2/Windows XP SP3 compatibility mode; since touch is not supported in Windows XP.

Now what should i do?
The application is to be supported on both touch and non-touch environment and requires Windows 7 as OS.
What is causing this?

Is there any settings while creating setup.

(the application setup is created through VS Setup Project).
Posted 27-Jul-12 3:50am
Sergey Alexandrovich Kryukov 27-Jul-12 12:41pm
Not enough information. We don't know what's in your code. And to investigate the problem, you would need to run it under debugger or obtain some other kind of diagnostics at least on one system where the code is not working properly.
AdamDavidHill 29-Jul-12 19:21pm
Also, we'd need a bit more information on what you mean exactly by "It runs well on some machines but doesn't works on others." - how should it work and what are you seeing?

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

    Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170424.1 | Last Updated 27 Jul 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100