Application c# | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Application c#

Hey guys I am new to c# and as my project iam developing a windows form application. I want to know how to present your files folder or application in the wind form app. For eg: if i click movies button on my application then it opens the files of movies on my pc. Help pc

28th May 2018, 7:28 PM
DWas
DWas - avatar
1 Answer
+ 1
Try using: Environment.GetFolderPath(Environment.SpecialFolder.MyVideos) to get the path to the folder. Google "c# environment specialfolder" to get a list of all special folders. To save to a folder you can use the code above and add: +@"\FolderName\" + "FileName" It was years ago I tried C# forms so im no expert.
1st Jun 2018, 11:58 AM
Coinage
Coinage - avatar