Hello, I have got a question regarding some special folders like "StartUp". This folder is named "AutoStart" on german platform. Or \Windows\Start Menu\Programs\Games is on german \Windows\Startmenü\Programme\Spiele How to get the correct folder names for "StartUp" and for the sample above? thx juvi
Hi Juvi, "juvi" wrote in message news:BDDE3566-691E-43EA-80C2-3C0D2C4F15F6@microsoft.com... > \Windows\Start Menu\Programs\Games is on german > \Windows\Startmenü\Programme\Spiele > > How to get the correct folder names for "StartUp" and for the sample > above? Within the .NET Compact Framework you can get the localised path to some of these folders via the Environment.GetFolderPath method (documented on MSDN at http://msdn.microsoft.com/en-us/library/system.environment.getfolderpath.aspx) For example string path = Envrionment.GetFolderPath(Environment.SpecialFolder.System); If you are using .NET CF 1.0 or need one of the special folders not listed within the managed enumeration you may also investigate Platform Invoking the SHGetSpecialFolderPath API (as discussed in an MSDN article titled "An Introduction To P/Invoke and Marshalling on the Microsof .NET Compact Framework" available at http://msdn.microsoft.com/en-us/library/aa446536.aspx). Hope this helps, Christopher Fairbairn