简体   繁体   中英

Vb.net project running on Windows 7 but not XP

I have recently created a VB.Net Windows Form app on my windows 7 pc and am having issues with it randomly crashing on an XP machine. There doesn't seem to be much of a patter either. Any suggestions would be greatly appreciated.

Details

Tried both building the project and compiling an install with all references. Platform set for Active (x86) Xp machine has all .dlls registered and .Net 4.0 framework Program runs and crashes at random spots Alot of different connections to databases Cannot step through code on Xp as no visual studio available but no errors or exceptions on Win7 machine when running or stepping through code.

Any help would be great if someone has encountered a similar problem. Thanks.

Answer came from the_Lotus

What's the error message? How you looked at event viewer? – the_lotus

After opening eventviewer and looking at the details it appears there was a System.IO.FileNotFoundException.

Thanks again the_Lotus

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM