Click here to Skip to main content
14,641,869 members
Rate this:
Please Sign up or sign in to vote.
See more:
I created an application using vs 2008 on vb.net which is running quite well on 32bit systems.
But it failed to work on 64 bit systems.

What should I do?

I used .net2 and sql server 2005.

I want to make it available on 64bit systems also.
Posted
Updated 14-Jan-11 1:25am
v3
Comments
Dave Kreskowiak 10-Jan-11 11:58am
   
You'll have to define "failed". What happened? What was the error message? What was expeced to happen? What does the code look like at the point of failure?
Dalek Dave 14-Jan-11 7:25am
   
Edited for Grammer, Syntax and Readability.
Rate this:
Please Sign up or sign in to vote.

Solution 1

What is your compiler platform target? Back a couple of years ago, we had to compile our apps for x86 (as opposed to "Any CPU") because of a 3rd party assembly we were using. Once we did that, it worked properly, even on 64-bit systems.
   
Rate this:
Please Sign up or sign in to vote.

Solution 2

If you are using any ocx'es those need to go, or you need replacements.

The ocx'es are usually natively compiled dlls.

Most code for vb.net should work quite well as 64-bit applications, so it's probably only a small snag ...

Regards
Espen Harlinn
   
Comments
#realJSOP 10-Jan-11 11:40am
   
Don't you ever sleep? What time is it where you are? :)
Espen Harlinn 10-Jan-11 11:42am
   
Local Time: 17:39 Bergen, Norway
lw@zi 10-Jan-11 14:51pm
   
That is the side effect of improper sunrise sunset times I believe. :)

You never know when to sleep and when to get up.
Espen Harlinn 10-Jan-11 15:09pm
   
Proper beeing UTC, I presume :)
http://en.wikipedia.org/wiki/Coordinated_Universal_Time
Rate this:
Please Sign up or sign in to vote.

Solution 3

please change the "Traget Platform" to 64 in Windows Installer
Alternatively you can set Any CPU
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100