API Documentation > CorelDRAW > 2025-v26 > Application > IVGApplication
Application.UserDataPath property
Returns a path to the application data folder in user system profile
Syntax:
Property Get UserDataPath() As String
Remarks:
The UserDataPath property returns the path to the folder where the user's personal data resides.
Examples:
The following VBA example displays all installed GMS files in the GMS folder.
Sub Test()
Dim s As String
Dim s1 As String
s = Dir(UserDataPath & "GMS\*.gms")
Do
  If s = "" Then Exit Do

 s = s & s1 & vbCrLf

 s1 = Dir

 Loop Until s1 = ""

 s = s & Dir(SetupPath & "Draw\GMS\*.gms")

 Do


If s = "" Then Exit Do


  s = s & s1 & vbCrLf


  s1 = Dir


  Loop Until s1 = ""


  MsgBox s, , "The following GMS files are installed:"



End Sub