Home All Groups Group Topic Archive Search About

Object reference error running exe on different machine

Author
3 Feb 2006 1:45 PM
craig.melbourne
I'm getting a strange bug with my of my applications

When I build and run the app on my develpment machine all works fine.
Once I move it to another machine I get a typical Object Reference
error reported to the Even Viewer.

Any thoughts appreciated.

Author
3 Feb 2006 3:37 PM
Armin Zingler
<craig.melbou***@gmail.com> schrieb
> I'm getting a strange bug with my of my applications
>
> When I build and run the app on my develpment machine all works
> fine. Once I move it to another machine I get a typical Object
> Reference error reported to the Even Viewer.
>
> Any thoughts appreciated.
>

Put a try-catch block around the suspicious piece of code. In the catch
block, show the exception details.

See also: Application.ThreadException

Armin