Torna al Thread

Try If My.Computer.FileSystem.FileExists("path") = True Then My.Computer.FileSystem.DeleteFile("path", FileIO.UIOption.AllDialogs, FileIO.RecycleOption.SendToRecycleBin) Else MsgBox("il file non esiste") End If Catch ex As Exception MsgBox(ex.Message) End Try
Copyright © dotNetHell.it 2002-2024
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5