D
Devlei
I want to be able to save a file to the Desktop. I realise the Desktop
path varies according to the version of Windows being used. Can
some-one help me with the following three issues:
1. Is the best option to use 'Environment.OSVersion.Version.Major' to
determine which version of Windows?
2. What values do each of the Windows versions have for point 1 above?
3. I know the path for XP (C:\Documents and Settings\" & strUserName &
"\Desktop\) and for Windows 98 (C:\Windows\Desktop\), but can anyone
help me what the paths for the other Windows versions would be?
With thanks
path varies according to the version of Windows being used. Can
some-one help me with the following three issues:
1. Is the best option to use 'Environment.OSVersion.Version.Major' to
determine which version of Windows?
2. What values do each of the Windows versions have for point 1 above?
3. I know the path for XP (C:\Documents and Settings\" & strUserName &
"\Desktop\) and for Windows 98 (C:\Windows\Desktop\), but can anyone
help me what the paths for the other Windows versions would be?
With thanks