Hi, I am making a program extract the program it executes and when the process ends then delete the extracted files.
To execute.
To delete.
Basically if the process is running then have VB do nothing to the process, but if it is not running then delete the extracted files.
So is there anything to put into Image2_MouseDown that will do this?
To execute.
vb Code:
Shell App.Path & "\filename.dll", vbNormalFocus
To delete.
vb Code:
Kill App.Path & "\filename.dll"
Basically if the process is running then have VB do nothing to the process, but if it is not running then delete the extracted files.
So is there anything to put into Image2_MouseDown that will do this?