Results 1 to 23 of 23

Thread: Windows 7 compatibility

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2001
    Posts
    1,374

    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?

  2. #2
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649

    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.

  3. #3
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    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
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  4. #4

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2001
    Posts
    1,374

    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.

  5. #5
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649

    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.

  6. #6
    PowerPoster SJWhiteley's Avatar
    Join Date
    Feb 2009
    Location
    South of the Mason-Dixon Line
    Posts
    2,256

    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."

  7. #7

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2001
    Posts
    1,374

    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?

  8. #8
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649

    Re: Windows 7 compatibility

    Attach the dmp file here so we can have a look at it.

  9. #9

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2001
    Posts
    1,374

    Re: Windows 7 compatibility

    It's over 120MB.

  10. #10
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649

    Re: Windows 7 compatibility

    Send it to [email protected]

  11. #11
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649

    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.

  12. #12

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2001
    Posts
    1,374

    Re: Windows 7 compatibility

    How do I view these files and what information do they give me?

  13. #13

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2001
    Posts
    1,374

    Re: Windows 7 compatibility

    Quote Originally Posted by Joacim Andersson View Post
    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?

  14. #14
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649

    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.

  15. #15

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2001
    Posts
    1,374

    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?

  16. #16
    Addicted Member
    Join Date
    Jan 2007
    Posts
    255

    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????

  17. #17
    Addicted Member
    Join Date
    Jan 2007
    Posts
    255

    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.

  18. #18

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2001
    Posts
    1,374

    Re: Windows 7 compatibility

    Quote Originally Posted by Joacim Andersson View Post
    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

  19. #19

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2001
    Posts
    1,374

    Re: Windows 7 compatibility

    Quote Originally Posted by Joacim Andersson View Post
    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?

  20. #20
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649

    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?

  21. #21

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2001
    Posts
    1,374

    Re: Windows 7 compatibility

    Quote Originally Posted by Joacim Andersson View Post
    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"?

  22. #22
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649

    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.

  23. #23
    Banned
    Join Date
    Mar 2009
    Posts
    764

    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
  •  



Click Here to Expand Forum to Full Width