A little .NET news today.
It appears that something fundamental like Application.StartupPath is broken in .Net 1.1 in some situations. If your application was not started via a shortcut, but some other system service like registering a device plug-in event with the WIA Automation tools then .NET will report the StartupPath as \windows\system32 instead of the actual location of your .exe.