Marcelo
Marcelo

Reputation: 3391

Winform application doesn't run properly

In my home and work pc's and in one friend of mine's it runs just ok, but when i sent it to someone else it 'loads' for 10 seconds responseless, then there is an error:

alt text http://dl.dropbox.com/u/3045472/Sem%20t%C3%ADtulo-1.png

Since it works on at least four computers, i assume the program itself is just ok (same exact EXE).

What could be happening ?

info:

Upvotes: 0

Views: 503

Answers (2)

Sameh Deabes
Sameh Deabes

Reputation: 2973

The first check is to make sure the .NET framework is already installed on the target machine, then make use of Brian's suggestion (which will not even work if the framework is not installed!).

Upvotes: 0

Brian R. Bondy
Brian R. Bondy

Reputation: 347216

There are infinitely many possible answers. So I will give you the way to figure it out instead.

Add a handler for the event: AppDomain.CurrentDomain.UnhandledException of type UnhandledExceptionEventHandler.

You will be able to see the reason for the crash. It's probably best to write it out to a file somewhere anyway.

Upvotes: 7

Related Questions