Kamal Khaleefa
asked on
how to get special folders such as Users Application Data
hi
i have created a setup file (exe ) installer and im installing some folders in
Users Application Data folder
how i can read the path for that folder
im using vb.net 2008
how i can know the path in xp , vista , windows
also how i can know the operating system in code?
i have created a setup file (exe ) installer and im installing some folders in
Users Application Data folder
how i can read the path for that folder
im using vb.net 2008
how i can know the path in xp , vista , windows
also how i can know the operating system in code?
have you tried My.Computer.FileSystem.Spe cialDirect ories.Curr entUserApp licationDa ta
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
OS version Info:
'Version numbers
String.Format("{0}.{1}.{2} .{3}", OSVersion.Version.Major.To String, OSVersion.Version.Minor.To String, OSVersion.Version.Build.To String, OSVersion.Version.MajorRev ision.ToSt ring)
'Version Description
String.Format("{0}", OSVersion.VersionString)
'Version numbers
String.Format("{0}.{1}.{2}
'Version Description
String.Format("{0}", OSVersion.VersionString)
Environment.SpecialFolder. Applicatio nData
ASKER
thx