|
-
Aug 13th, 2010, 07:36 AM
#1
Thread Starter
Frenzied Member
Windows 7 compatibility
I wrote an application in VB.NET 2005 which ran OK on Win XP but won't run on Win 7 Pro. It installs OK but I get a non-specific error message saying that my programme is not working when I try and run it on Win 7 Pro. Should I expect my application to run on Win 7?
-
Aug 13th, 2010, 07:42 AM
#2
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?
Last edited by Joacim Andersson; Aug 13th, 2010 at 07:47 AM.
-
Aug 13th, 2010, 08:02 AM
#3
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
-
Aug 18th, 2010, 06:24 AM
#4
Thread Starter
Frenzied Member
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.
-
Aug 18th, 2010, 06:48 AM
#5
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.
-
Aug 18th, 2010, 08:16 AM
#6
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.
"Ok, my response to that is pending a Google search" - Bucky Katt.
"There are two types of people in the world: Those who can extrapolate from incomplete data sets." - Unk.
"Before you can 'think outside the box' you need to understand where the box is."
-
Aug 19th, 2010, 04:10 AM
#7
Thread Starter
Frenzied Member
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?
-
Aug 19th, 2010, 06:43 AM
#8
Re: Windows 7 compatibility
Attach the dmp file here so we can have a look at it.
-
Aug 19th, 2010, 06:56 AM
#9
Thread Starter
Frenzied Member
Re: Windows 7 compatibility
-
Aug 19th, 2010, 07:19 AM
#10
Re: Windows 7 compatibility
-
Aug 19th, 2010, 07:22 AM
#11
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.
-
Aug 19th, 2010, 07:35 AM
#12
Thread Starter
Frenzied Member
Re: Windows 7 compatibility
How do I view these files and what information do they give me?
-
Aug 20th, 2010, 01:50 AM
#13
Thread Starter
Frenzied Member
Re: Windows 7 compatibility
 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?
-
Aug 20th, 2010, 08:02 AM
#14
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.
-
Aug 24th, 2010, 10:19 PM
#15
Thread Starter
Frenzied Member
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?
-
Aug 25th, 2010, 03:26 AM
#16
Addicted Member
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...
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????
-
Aug 25th, 2010, 03:46 AM
#17
Addicted Member
Re: Windows 7 compatibility
ah panic over!
i saved my project closed VS2008 restarted it, rebuilt the solution and hey presto it worked!
Last edited by 16bit; Aug 25th, 2010 at 04:35 AM.
-
Nov 24th, 2010, 07:45 PM
#18
Thread Starter
Frenzied Member
Re: Windows 7 compatibility
 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
-
Dec 1st, 2010, 08:34 PM
#19
Thread Starter
Frenzied Member
Re: Windows 7 compatibility
 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?
-
Dec 1st, 2010, 09:09 PM
#20
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?
-
Dec 3rd, 2010, 02:52 AM
#21
Thread Starter
Frenzied Member
Re: Windows 7 compatibility
 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"?
-
Dec 3rd, 2010, 06:39 AM
#22
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.
-
Feb 2nd, 2011, 02:41 AM
#23
Banned
Re: Windows 7 compatibility
have you installed drivers from theire original cd
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|