Application Failed To Initialize Properly

  • Thread starter Thread starter John Baker
  • Start date Start date
J

John Baker

I built a very simple program called First.exe. It is a form that has a
few text labels on it and a picturebox that displays a JPG. Nothing else.

Works fine on the computer it was built on.

Gives the "Application Failed To Initialize Properly" message when run
on other computers (w/o VStudio) and terminates. I didn't think it was
necessary to distribute anything other than the .exe. What am I missing?
 
The target machine needs to have the .NET Framework installed. You can
download it from MSDN. Usually, if computers are up-to-date with their
patches from windows update, they should have the .NET Framework installed.
You can get the framework from here (latest version 1.1):
http://msdn.microsoft.com/netframework/downloads/framework1_1/

Also, you need to make sure that the framework version on the target machine
matches the framework version that the app was built on (v1.0 versus v1.1).

hope that helps..
Imran.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top