Re: Windows 7 compatibility
Well, an application written in VB.Net 2005 should work just fine on a Windows 7 computer. Your application must be doing something illegal and there is no way I (or anyone else here) can guess what that is. Can you get a Dr. Watson report from it?
Re: Windows 7 compatibility
When do you get that non-specific error message? Is it when the app starts? In the middle of using it? When you perform some specific function in the app? What is the EXACT message displayed? It may seem non-specific, but it should reveal a lot about the problem.
-tg
Re: Windows 7 compatibility
I get an error message saying "[programme name] has stopped working" immediately after attempting to start the programme.
It says underneath:
"Windows is checking for a solution to the problem"
then the dialogue box just disappears without anything else happening.
I am logged in as Administrator.
Re: Windows 7 compatibility
Start the Windows Task Manager and select the Process tab. Start your application and when the "Application has stopped working" message appears (do not close it) right click on the process name in the Task Manager and select Create Dump File.
Re: Windows 7 compatibility
You need to determine if it's the 'type' of program which is failing, or your specific application: create a simple 'hello world' application and see if it runs on windows 7.
Re: Windows 7 compatibility
I have run other programmes developed using VB.NET 2005 on Windows 7 successfully.
Joacim - What do I do with the DMP file created?
Re: Windows 7 compatibility
Attach the dmp file here so we can have a look at it.
Re: Windows 7 compatibility
Re: Windows 7 compatibility
Re: Windows 7 compatibility
Is it really that it doesn't run on any Win7 or is it not running on Win7 64-bit? Are you using the Jet engine to read/write to an Access database? If so you must change the CPU target to x86 so it runs in 32-bit mode on a 64-bit OS.
Re: Windows 7 compatibility
How do I view these files and what information do they give me?
Re: Windows 7 compatibility
Quote:
Originally Posted by
Joacim Andersson
Is it really that it doesn't run on any Win7 or is it not running on Win7 64-bit? Are you using the Jet engine to read/write to an Access database? If so you must change the CPU target to x86 so it runs in 32-bit mode on a 64-bit OS.
How do I do that?
Re: Windows 7 compatibility
Open the project and click Project > <ProjectName> Properties and select the Compile tab, click on the Advanced Compile Options button and select x86 in the Target CPU drop-down list.
Re: Windows 7 compatibility
By the way, I am not using an Access database - I am using an MS SQL Server database. Is using an Access database the only reason that I should set the CPU target to x86 or could this be also required for other reasons?
Re: Windows 7 compatibility
I am aso having the same sort of problem...
My program runs fine on 32bit XP pro but does not run on my 64bit Windows7 Pro OS.
I am connecting to an access database but get the following error when I launch the program...
Quote:
The 'Microsoft.Jet.OLEDB.4.0' provider is not registered on the local machine.
I have selected the target CPU as X86 but this has not resolved my problem.
Spent all day on Google yesterday trying to find a solution but to no avail.
Any ideas????
Re: Windows 7 compatibility
ah panic over!
i saved my project closed VS2008 restarted it, rebuilt the solution and hey presto it worked!
Re: Windows 7 compatibility
Quote:
Originally Posted by
Joacim Andersson
Open the project and click Project > <ProjectName> Properties and select the Compile tab, click on the Advanced Compile Options button and select x86 in the Target CPU drop-down list.
This appears to have got my application running on Win7 64-bit :)
Re: Windows 7 compatibility
Quote:
Originally Posted by
Joacim Andersson
Is it really that it doesn't run on any Win7 or is it not running on Win7 64-bit? Are you using the Jet engine to read/write to an Access database? If so you must change the CPU target to x86 so it runs in 32-bit mode on a 64-bit OS.
Hi Joacim,
I am trying to install another vendor's application on Win 7 64-bit but it won't install as it requires a 32 bit OS.
Can Win 7 64 bit be run in 32 bit mode so that this application will install? I can't change the target CPU as I was able to for my own application.
Can Win 7 also be purchase as a 32 bit OS?
Re: Windows 7 compatibility
Yes, Windows 7 is available in both 32-bit as well as 64-bit editions. I do find it curious though that the installer refuses to run, it would be another thing if it allowed the application to be installed but not executed. Have you tried running the setup in compatibility mode?
Re: Windows 7 compatibility
Quote:
Originally Posted by
Joacim Andersson
Yes, Windows 7 is available in both 32-bit as well as 64-bit editions. I do find it curious though that the installer refuses to run, it would be another thing if it allowed the application to be installed but not executed. Have you tried running the setup in compatibility mode?
The setup file attempts to install MSSQL Server 2005 and throws an error saying "you are trying to install a 32-bit only setup program on a 64-bit computer". Might try getting a 32-bit Win7 and see whether it installs.
How do I run the setup in "compatibility mode"?
Re: Windows 7 compatibility
You can run any program file in compatibility mode by right clicking the EXE file and select Properties. On the Compatibility tab check the "Run this program in compatibility mode for" checkbox and select the OS version in the drop-down list.
Re: Windows 7 compatibility
have you installed drivers from theire original cd