It doesn't really matter if it makes an error message, but how can I make my program self-delete itself, either RIGHT AWAY, or at next RESTART, without using another program to do it. Thanks.
It doesn't really matter if it makes an error message, but how can I make my program self-delete itself, either RIGHT AWAY, or at next RESTART, without using another program to do it. Thanks.
I won't guarantee this works.
"SSourceFile = App.path + "\My.Exe"
MoveFileEx(sSourceFile, vbNull, MOVEFILE_DELAY_UNTIL_REBOOT)"