views:

69

answers:

3

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

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

What could be happening ?

info:

  • C#
  • .net 3.5
  • worked on Windows 7 32/64 bits, windows XP and vista.
  • does some threading simple stuff, but it doesn't even open the form, and it doesn't open up running either, so the functionality is irrelevant.
A: 

Can you check the event viewer on the machine where the program crashed and see if it provides any additional details.

Matt Dearing
that should have been a comment, but ok.. I can't right now, but i'll check on it and post as soon as i can!
MarceloRamires
Agreed, but i think I need 50 rep points before I am allowed to post comments to questions (http://meta.stackoverflow.com/questions/33419/cant-add-small-comments-to-questions)
Matt Dearing
I dunno, I'm willing to state that anything that leads you to the solution qualifies as an answer. +1.
overslacked
@downvoter - please leave a comment why you believe this answer is so incorrect or misleading as to warrant a downvote.
overslacked
+7  A: 

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.

Brian R. Bondy
A: 

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!).

Sameh Serag