   Visual c++ configuration error
  Hi i have a problem ive complied a vc++ express edition 2008 form .Net project in release mode no errors or warnings are produced during compile time but every time i try and execute the release .exe outside the project folder it fails and says '[insert prog namehere].exe has encounterd a problem and needs to close" however when i execute the debug build .exe outside the project folder it works fine.Any ideas why and what settings need to be changed ?   
  Can you run the release build from the ide?   ;  The release build works fine in the ide and when it is run from the project folder but when i move it out of the p folder it fails.   ;  Are there any dll's its loading or any configuration or resource files? that might be present in that folder?   ;Quote:Original post by yewbieAre there any dll's its loading or any configuration or resource files? that might be present in that folder?I guess not because the debug build runs fine outside of the project folder but not the release build i havnt added any requiments for the exe to use any anything external as far as im aware ive tried reinstalling the redistributable package from MS but still luck.   ;  You could try running a program called Dependency Walker, it will allow you to profile your program and see where it is crashing or what its trying to load.Edit: wrong program name, now fixed!   