Una z ....Originariamente inviato da x69asterix
... eccezzioni....
Prova ad inserire prima l'assegnazione alla label e usare quella ...
codice:Attribs = RAPI.RAPIFileAttributes.Normal Label1.Text = Form1.ListBox2.Items(i) remotedevice.SetDeviceFileAttributes(Label1.Text, Attribs) remotedevice.CopyFileFromDevice(Application.StartupPath & "\Root\" & Label1.Text, Label1.Text, True) Label2.Text = remotedevice.GetDeviceFileSize(Label1.Text)