Avatar of Kamal Khaleefa
Kamal KhaleefaFlag for Kuwait

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?
Visual Basic.NET.NET ProgrammingWindows Vista

Avatar of undefined
Last Comment
Kamal Khaleefa
Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

have you tried My.Computer.FileSystem.SpecialDirectories.CurrentUserApplicationData
ASKER CERTIFIED SOLUTION
Avatar of nepaluz
nepaluz
Flag of United Kingdom of Great Britain and Northern Ireland image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of Erick37
Erick37
Flag of United States of America image

OS version Info:

'Version numbers
String.Format("{0}.{1}.{2}.{3}", OSVersion.Version.Major.ToString, OSVersion.Version.Minor.ToString, OSVersion.Version.Build.ToString, OSVersion.Version.MajorRevision.ToString)

'Version Description
String.Format("{0}", OSVersion.VersionString)
Avatar of sufianmehmood
sufianmehmood
Flag of Pakistan image

Environment.SpecialFolder.ApplicationData
Avatar of Kamal Khaleefa
Kamal Khaleefa
Flag of Kuwait image

ASKER

thx
.NET Programming
.NET Programming

The .NET Framework is not specific to any one programming language; rather, it includes a library of functions that allows developers to rapidly build applications. Several supported languages include C#, VB.NET, C++ or ASP.NET.

137K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo