Accessing %appdata% with VB.NET

后端 未结 3 2077
没有蜡笔的小新
没有蜡笔的小新 2021-02-07 05:49

How can you access files in %appdata% through VB.NET?

For example, C:\\Users\\Kuzon\\AppData\\Roaming\\program. How would I access that file, but on another

3条回答
  •  既然无缘
    2021-02-07 06:47

    When using VB.NET with WinForms, this is another option:

    System.Windows.Forms.Application.UserAppDataPath
    

提交回复
热议问题