Il file xml è il seguente:
http://pastebin.com/QUVEH1aM
Praticamente, vorrei che al doppio click del nodo nel quale compare WoodR4v1.49, il programma cercasse il valore assegnato a url e a ext
Qualche suggerimento al riguardo?Codice PHP:
Private Sub tvwMetaBase_NodeMouseDoubleClick(ByVal sender As System.Object, ByVal e As System.Windows.Forms.TreeNodeMouseClickEventArgs) Handles tvwMetaBase.NodeMouseDoubleClick
Dim FName As String
Dim ExtDownload As String = ??
Dim URLDownload As String = ??
Try
Dim sfd As New SaveFileDialog With {.Title = "Selezionare il nome del file", .Filter = ExtDownload}
sfd.ShowDialog()
FName = sfd.FileName.ToString()
WebClient.DownloadFile(URLDownload, FName)
Catch SArgExc As System.ArgumentException
MessageBox.Show(SArgExc.Message, "Errore!")
End Try
End Sub