Solved

Publishing windows form for a 32-bit computer

Posted on 2014-04-08
2
270 Views
Last Modified: 2014-05-16
I was trying to publish a windows application but user receives the error message below.  I am building the windows form application on 64bit system using visual studio 2012.  On the property build page of the solution I have the "Any CPU" and "Prefer 32-Bit" selected.   What am I missing.  I believe the user may be running Windows XP as well.

that it is not a valid Win 32 application and is not properly formatted.
0
Comment
Question by:hojohappy
2 Comments
 
LVL 44

Assisted Solution

by:AndyAinscow
AndyAinscow earned 200 total points
ID: 39986232
Does the end user have the .net runtime installed that you build it for?  (eg. If you built it for .net 4.5 and the user has only .net 4 then that could be the problem).
0
 
LVL 28

Accepted Solution

by:
Ryan McCauley earned 300 total points
ID: 40044926
Does your application use any of the memory management that x64 would enable? If not, why not just compile the application as x86 for everybody? Large integer handling is a bit slower and you can only use 2GB of memory, but are you using those things in a way that would make a difference? If not, it might be worth considering skipping on the x64 build in general.

That said, what happens if you compile an x86 build specifically for this customer (rather than AnyCPU)? Can you confirm that they have the .NET framework installed? If they say they have the framework installed but it still doesn't work, can you write a "test" app for them that just has a popup, so you can confirm that it runs? Can they install something else that requires .NET (like Paint.NET) to confirm that they have the proper framework version installed?
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Media.Imaging 1 18
VB.NET (2008) - Refactoring Question 2 21
Alert on Server memory 2 21
VB: Convert 2 dates to specific format 24 48
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

770 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