How could i develop a running-once application
-
Hi, How can i develop a application which can execute once and the executive file would be removed from device. Like: After program show a message, this executive file is removed. I got a straight way that after the application executes, deleting this application file. But how? Running program couldn't delete itself. Any suggestion is welcome. Thanks! Regards, ginee
-
Hi, How can i develop a application which can execute once and the executive file would be removed from device. Like: After program show a message, this executive file is removed. I got a straight way that after the application executes, deleting this application file. But how? Running program couldn't delete itself. Any suggestion is welcome. Thanks! Regards, ginee
-
Hi, How can i develop a application which can execute once and the executive file would be removed from device. Like: After program show a message, this executive file is removed. I got a straight way that after the application executes, deleting this application file. But how? Running program couldn't delete itself. Any suggestion is welcome. Thanks! Regards, ginee
I think i read some articles briefly on www.codeguru.com Try Google for "self deleting executable" (http://www.google.co.in/search?hl=en&ie=UTF-8&q=self+deleting+executable&meta=[^]) I sure you will get some. Hope this helps ------------------------- Have a great day ahead! Regards, Sohail Kadiwala
-
Hi, One solution is to create a .bat file with deleting instructions. You will call the bat file at the end (before
return
). That work's generally. I hope this helps... Well... I am a beginner ... -
Hi, How can i develop a application which can execute once and the executive file would be removed from device. Like: After program show a message, this executive file is removed. I got a straight way that after the application executes, deleting this application file. But how? Running program couldn't delete itself. Any suggestion is welcome. Thanks! Regards, ginee
Please check the following article::eek: http://www.microsoft.com/msj/archive/SF9C.aspx Arsalan Malik
-
While that program is running (before return or some other interrupt, this program doesn't be terminated), i think the executive file is locked. And it can be deleted or moved. However, i will try this way. Thanks you!