Agar file tidak dapat dihapus menggunakan vb

Denied deletion file, this trick are open the file for simultan so the windows couldn’t delete the file until the aplication end or stopped.

Buat sebuah form dengan 1 timer.

forum load :
private sub form_load()
timer1.interval = 1
end sub


timer 1 :

Private sub timer1_timer()
Open PathFilenya For Input As 1
end sub

No comments:

Post a Comment

Related Posts with Thumbnails