Código:
Pero no me funciona, alguien sabe como puedo liberar todos los recursos usados en mi aplicacion para poder hacer el borrado???Private Sub borrarImgTemporales() Dim i As Integer For i = 0 To totalFrames - 1 Me.panelMiniaturas.Controls.Item(i).Dispose() Next Try For i = 0 To totalFrames If IO.File.Exists(strRuta & i & ".tif") Then IO.File.Delete(strRuta & i & ".tif") End If Next Catch ex As Exception MsgBox(ex.ToString) End Try End Sub
SALUDOS y GRACIAS
![Adios](http://static.forosdelweb.com/fdwtheme/images/smilies/adios.gif)
![Adios](http://static.forosdelweb.com/fdwtheme/images/smilies/adios.gif)
![Adios](http://static.forosdelweb.com/fdwtheme/images/smilies/adios.gif)