My app created on XP does not run on Windows 7 - windows-xp

I am trying to run an app I created at work (I sent myself the .exe file) so that I could see how it looks on Windows 7.
My laptop (running 64-bit Windows 7) won't even open it, though. It opens some compatibility wizard to try to rectify whatever the problem is, but that doesn't work either.
Is there anything I need besides the .exe itself, that I should have copied over?
A team member using Windows 7 can run it (by checking it out of Subversion and running it in the VS IDE, anyway), but the display if "off" (The FlowLayoutPanel's controls are experiencing a kind of "wardrobe malfunction"). But I, as mentioned, can't even run it.
What might be the problem/solution?

If you are running the Professional edition of Windows 7 or higher then it will include the option to install the "Windows XP Virtual Machine". You can then run your app as normal under the virtual machine, quckest and easiest way to resolve these sort of issues in Windows 7.

Related

java 7 update25 applet not working on IE10

Anyone has success of running applet page below with IE10 installing the jre7u25?
http://www.java.com/en/download/testjava.jsp
Are there any way to disable update of java when using runapplet below?
http://docs.oracle.com/javase/6/docs/technotes/guides/jweb/deployment_advice.html
Anyone has success of running applet page below with IE installing the jre7u25?
I don't use Windows, but I'm sure someone has. At least for some version of IE. It is (frankly) implausible that it doesn't work in the vast majority of cases.
Please be specific about what version of Windows and IE you are talking about, and how it is "not working" for you.
Are there any way to disable update of java when using runapplet(jnlp) below?
This doesn't make sense. JNLP doesn't update Java.
The problem with Java and IE10 seems to be to do with 32bit versus 64bit. Apparently IE10 defaults to running in 32bit mode, even on a 64bit platform. And a 32bit browser requires a 32bit Java plugin.
Check what versions of Java you have actually got installed.
Try switching IE10 to "Enhanced Protection Mode" and see if it can find 64bit Java.
Try manually installing a 32bit Java.
Reference:
http://www.java.com/en/download/faq/win8_faq.xml
I figured out why the problem occurs.
IE10 runs in 64bit frame but the tab runs in 32bit mode.
There is a way to run tab in 64 bit mode in windows8.
http://www.lockergnome.com/windows/2012/08/25/how-to-make-internet-explorer-10-run-in-64-bit/
But it doesn't work in windows7.
I tried with chrome ie tab which runs chrome and ie in 32bit mode in which the applet works.
I had problems too with my applet. In Google Chrome from the start works perfectly.
Internet explorer 10 seems not recognize new Java 7 u 25 installed on PC after automatic upgrade.
I solved problem with next steps:
uninstall all Java 7 versions on PC
Download Java package on http://www.oldapps.com/java.php (depending what you need 32 or 64 bit)
install Java
After that IE10 recognized Java and applet works fine.
Maybe just add the env var like the next post says. That functions for me!!!
https://forums.oracle.com/thread/2530883?tstart=0
And add too the parameter at execution time like the next post
http://nicolask.wordpress.com/2012/11/30/oracle-jnitiator-version-too-low-please-install-version-1-1-8-2-or-higher/
I hope this help you!!! And as an advice use chrome for better performance.
The only way I could get the latest java (7 update 25, 32 bit) to run ALL THE TIME in Internet Explorer 10 desktop mode (in Windows 8 64 bit) was to create a new shortcut to:
"C:\Program Files (x86)\Internet Explorer\iexplore.exe
Then hitting advanced (in the shortcut) and choosing RUN AS ADMINISTRATOR
If you do not want to do that (for security reasons), the work around that I found, was to install Chrome (as Java works all the time) and use that for sites that require Java.
I hope that helps
the 64-bit java plugin is not compatible with Enhanced Protected Mode, which is a new type of sandbox they have for IE10 and IE11.
Therefore , disable Enhanced Protected Mode, install 32-bit JRE and now IE should run 32-bit child processes for each window, which will be compatible with Your 32-bit Java plugin.
This is valid for the desktop-mode IE in Win8. The new-flat-unintuitive-mode IE has Enhanced Protected Mode enable per default. You can check by using Process Explorer, and showing the Integrity column. If "AppContainer" is displayed, then EPM is used
Hope this helps

Lightswitch Desktop Application Wont Run in XP SP3

I have developed an application in Lightswitch 2012, and now need to deploy it to a desktop PC running XP SP3.
I have already looked at two previous posts Can't run Lightswitch 2012 Programm under Windows XP and
Lightswitch Desktop Application Wont Install in XP SP3
The two posts both refer to executing [editbin vslshost.exe /SUBSYSTEM:WINDOWS,5.01 /OSVERSION:5.1] to modify the vslshost.exe file, though only the first post says it worked.
In my case, I have tried the above to update the vslshost.exe file, but when I publish my LS2012 project it reverts back to the default vslshost.exe file. And if I manually swap the file with the copy I modified, when I run the deployed app I get the following error:
System.Deployment.Application.InvalidDeploymentException (HashValidation)
- File, vslshost.exe, has a different computed hash than specified in manifest.
- Source: System.Deployment
So, the questions are
am I doing something wrong?
is there a master copy of vslshost.exe I need to update instead?
(BTW, I also ran the VS2012 (KB270250 from VS2012 Update 1 CTP 4))
Thanks for your help
As this is an internal company app, I have just convinced our IT guy to upgrade the machine, because the certain grief of trying the different possible solutions was just too much.
BUT if you MUST deploy to XP
To find out more, here are two pretty exhaustive posts with input directly from the Lightswitch team:
Progress on LS2012 desktop apps installing AND running on XP yet?
Windows XP 32 bit deployment
Enjoy....(???)

Run a program on Mac OS host from Windows running as parallels guest

On a MacBook Pro running Windows 7 in Parallels 7, I need to run a Unix Executable File on the Mac side via a command line invocation on the Windows side. In Windows Explorer, I can use Open on Mac, but I need a way to do this via a batch file or anything else that can be expressed on a command line. I was hoping that Parallels Tools might have a command that can do this, but I can't find anything.
This seems like it should be pretty straightforward, but my searches have turned up nothing.
I also tried creating an alias on the Mac side, which I added to my Applications folder. I was hoping that it would appear in Start > All Programs > Parallels Shared Applications, which might allow me to access it with a batch file. However, I don't see it. I'm not sure what it takes to add new entries to Parallels Shared Applications. Maybe a reboot would do it, but I have not tried that yet.
Thanks for any advice.
It seems like the Platypus app might be able to help with this. It wraps a shell script into a Mac App. Unfortunately I can't get Parallels to provide access to the Platypus generated app the same way it provides access to the other Mac apps.

why the Pyqt application implemented and worked well in VISTA can not run in Windows XP?

all, I implemented an application in my laptop (vista) with PyQt and it worked quite well. But if I want to run it in a desktop of Windows XP system, an error occured! It says the configuration was wrong. What is the reason (by this i mean does it matter which system I used??)and how to solve it please? thanks!!!
More info would be useful, but this sounds familiar to a problem I had when freezing apps using py2exe. Is this your exact error message?:
The application has failed to start because the application configuration is incorrect.
Reinstalling the application may fix the problem.
I managed to get around this by installing the Microsoft Visual C++ 2008 SP1 Redistributable Package from http://download.microsoft.com.
This was an error I had when using py2exe. After switching over to PyInstaller, which bundles the runtimes during freezing, the problems went away without having to install the C++ runtimes on an XP machine. There may even be a way to bundle the runtimes using py2exe, but I've not looked.

WatiN Compatibility with Windows

I am running tests successfully on Windows XP but not even got a single successful build while running through Windows 2003.
Any one knows whether it is compatible or not as I read on some site that WatiN is fully tested on XP and not on other Windows editions.
I'd ordinarily post this as a comment on Sam's answer, but I'm trying to make a stack trace searchable, so here goes...
WatiN.Core.Exceptions.IENotFoundException : Could not find an IE window matching constraint: Timeout while waiting to attach to newly created instance of IE.. Search expired after '30' seconds.
at WatiN.Core.IE.CreateIEPartiallyInitializedInNewProcess()
at WatiN.Core.IE.CreateNewIEAndGoToUri(Uri uri, IDialogHandler logonDialogHandler, Boolean createInNewProcess)
at WatiN.Core.IE..ctor(String url, Boolean createInNewProcess)
c:\...\WithVendorSite.cs(42,0): at WithVendorSite.VerifyCanLogIn(TargetSite target)
I developed my test on Windows 7 against WatiN 2.0.10.928 but the test was continually getting stuck with a blank browser with about:blank in the address bar when run on Windows Server 2008 with latest WUs, and Enhanced Security Configuration turned off and running the tests elevated (Run as Administrator).
The problem in my case (thanks Sam) was the absence of Microsoft.mshtml.dll in the bin directory (I had figured out Interop.shdocvw.dll was necessary from error messages I'd encountered on the Windows 7 side).
After adding Microsoft.mshtml.dll, things run happily with ESC turned back [but the test process needs to run elevated].
I run our WatiN integration test suite (hundreds of tests) on Windows 2003 with IE6. Works fine, no special tricks done. What is the exception you are getting? Are you sure mshtml.dll (the COM dll somewhere in the windows directory) is registered correctly on this machine? Do you have the Microsoft.mshtml.dll (interop assembly) and interop.shdocvw.dll in the same directory as WatiN.Core.dll?
Update: Its officially supported, from the faq
Which windows versions are supported?
Windows 2000, Windows XP, Windows 2003
and Windows 2008.
Original post:
I use it on vista all the time. I haven't used it on windows server 2003 though.
Have you tried logging on interactively into the server and trying to run the tests manually? It may be because of the account that your build server is running under or some particular security settings you have setup. Have you checked to see if IE is stopping you from viewing the page due to it not being in the trusted sites list?
I was using Watin 1.3 on Windows XP but the same on Win 7 having problem....
Officially Watin 1.3 works on O.S. Xp and earlier on Win XP
But Watin 2.1 works fine on Win 7 and XP.
Officially Watin 2.1 supports any Microsoft O.S.