|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Application.ExecutablePath() issue in Windows VistaI have a Windows Forms application developed in .NET Framework 1.1. The Application.ExecutablePath() function does not return correctly the application path if the path or the EXE filename contains non-english characters (like "c:\aplicación\aplicación.exe), but only in Windows Vista (in 2000, XP or 2003 it works correctly). These characters are replaced by a squared char (and the returned string is not usable in FileInfo, for example). However, the Application.StartupPath() function works well in Vista and does not return strange characters, making possible to solve the problem if you have full access to the source code of the application and the ability to recompile it. My application have many versions and I can't recompile and distribute each one. I think there is an issue with the .NET Framework and Vista. In my opinion, the only way to fix it without changing and recompiling the application, is patching the Framework itself. Anyone knows if there is a KB article about this? Thank you in advance. Regards, Dani |
|||||||||||||||||||||||