[Last Call] Learn how to a build a cloud-first strategyRegister Now


Cannot run vb.net 2008 app on windows 7 - 64 bit

Posted on 2011-04-29
Medium Priority
Last Modified: 2012-05-11

I have a vb.net 3.5 desktop app. I have compiled its dll with Any CPU settings. I have done the same with my .exe file. This compilation is done on my windows XP which is 32-bit bit. Now after installing the app on windows 7 which is 64-bit, the app does not run. It also does not give any error. Nothing happens when I double-click on the exe. Is it because I have compiled on 32-bit PC?

Question by:vj_mi
LVL 70

Accepted Solution

Éric Moreau earned 2000 total points
ID: 35496819
it should run. there is surely an error that you trap but not handle correctly.

In VS, you can try to target the x86 cu instead of the default 'any cpu'
LVL 83

Expert Comment

ID: 35497027
Is it a DB app? Does it use Jet?

Author Comment

ID: 35497220
Hi emoreau:

Yes, I trapped the error. Thank you for this. BTW, I am not setting the target to x86 since I want the app to run on both 32-bit and 64-bit OS.


Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: jpaulino
XML Literals are a great way to handle XML files and the community doesn’t use it as much as it should.  An XML Literal is like a String (http://msdn.microsoft.com/en-us/library/system.string.aspx) Literal, only instead of starting and ending with w…
If you're writing a .NET application to connect to an Access .mdb database and use pre-existing queries that require parameters, you've come to the right place! Let's say the pre-existing query(qryCust) in Access takes a Date as a parameter and l…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Integration Management Part 2

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question