I tried this as shown below but it only returns the elevation and time. I'm not sure how to get the Lat and Lon values:
Dim gpxFile As String = "C:\Users\xxxxxxx\Downloads\ILU 2022038.gpx"
Dim gpxDoc As XmlDocument = New XmlDocument()
gpxDoc.Load(gpxFile)
Dim nsmgr As XmlNamespaceManager = New XmlNamespaceManager(gpxDoc.NameTable)
nsmgr.AddNamespace("x", "http://www.topografix.com/GPX/1/1")
Dim nl As XmlNodeList = gpxDoc.SelectNodes("//x:trkpt", nsmgr)
For Each xnode As XmlNode In nl
Dim name As String = xnode.Name
Debug.Print(xnode.Name & vbCrLf & xnode.InnerText)
Next<