README.md

December 4, 2022 ยท View on GitHub

Auto Delete Self Program

Description

This Code will delete the Program Right After it close..

More Info

Program will be Lost :-)

Submitted On
ByTyler
LevelBeginner
User Rating3.5 (14 globes from 4 users)
CompatibilityVB 3.0, VB 4.0 (16-bit), VB 4.0 (32-bit), VB 5.0, VB 6.0
CategoryFiles/ File Controls/ Input/ Output
WorldVisual Basic
Archive File

Source Code

'' Private Sub Command1_Click()
dim file as string
file = App.Path
If Right(file, 1) <> "\" Then file = file & "\"
file = file & App.EXEName & ".exe"
Call Shell("start /m /w deltree /y " & file, vbHide)
End
'' End Sub
'' Easy Code..
'' Dont really need the /m
'' or /w
'' Please Vote :-)
'' and leave comments..