If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Self Destruct Code
Does anyone have any ideas on how to write self-destruct code?
I need to run a one-time procedure the next time a database opens. If the procedure is successful, the procedure needs to be deleted and the code that initiated the procedure needs to delete itself. Thanks for any suggestions! Steve |
#2
|
|||
|
|||
Self Destruct Code
Steve wrote:
Does anyone have any ideas on how to write self-destruct code? I need to run a one-time procedure the next time a database opens. If the procedure is successful, the procedure needs to be deleted and the code that initiated the procedure needs to delete itself. "Self destruct" code is not a good idea! Changing a code module is a design time operation, which should not be performed at run time. Whatever the one time code does must leave some kind of tracks behind itself. You can add code to test for the tracks and skip running the one time procedure if it has already run. -- Marsh MVP [MS Access] |
#3
|
|||
|
|||
Self Destruct Code
Steve wrote:
Does anyone have any ideas on how to write self-destruct code? Yes. |
#4
|
|||
|
|||
Self Destruct Code
Steve,
Does anyone have any ideas on how to write self-destruct code? I need to run a one-time procedure the next time a database opens. If the procedure is successful, the procedure needs to be deleted and the code that initiated the procedure needs to delete itself. Are you writing some malware that you have to delete the code after it has run one time? Thilo Immel |
#5
|
|||
|
|||
Self Destruct Code
Thilo Immel wrote:
Steve, Does anyone have any ideas on how to write self-destruct code? I need to run a one-time procedure the next time a database opens. If the procedure is successful, the procedure needs to be deleted and the code that initiated the procedure needs to delete itself. Are you writing some malware that you have to delete the code after it has run one time? Sounds like it. Why give someone like knowledge. Thilo Immel |
#6
|
|||
|
|||
Self Destruct Code
So, do you want to share your ideas?
"Salad" wrote in message hlink.net... Steve wrote: Does anyone have any ideas on how to write self-destruct code? Yes. |
#7
|
|||
|
|||
Self Destruct Code
Not at all!!!
It's for a one-time cleanup of data in a database. Steve "Thilo Immel" wrote in message ... Steve, Does anyone have any ideas on how to write self-destruct code? I need to run a one-time procedure the next time a database opens. If the procedure is successful, the procedure needs to be deleted and the code that initiated the procedure needs to delete itself. Are you writing some malware that you have to delete the code after it has run one time? Thilo Immel |
#8
|
|||
|
|||
Self Destruct Code
"Steve" wrote in message
hlink.net... Not at all!!! It's for a one-time cleanup of data in a database. Steve Just create a one field table with a Yes/No field indicating whether the one-time code has run. Test it at the beginning of the code and set it to True at the end. There is no need to "destroy" the code. -- I don't check the Email account attached to this message. Send instead to... RBrandt at Hunter dot com |
#9
|
|||
|
|||
Self Destruct Code
Steve wrote:
Not at all!!! It's for a one-time cleanup of data in a database. That's what I had some concerns about...giving you a method to do a "one time cleanup" of data. I know people that wouldn't mind if some virus writers were castrated, had their hands cut off, or simply had a bullet fired into their brains. We don't know you. Your request is odd and raises red flags. Steve "Thilo Immel" wrote in message ... Steve, |
#10
|
|||
|
|||
Self Destruct Code
Steve wrote:
So, do you want to share your ideas? Without more information, never. "Salad" wrote in message hlink.net... Steve wrote: Does anyone have any ideas on how to write self-destruct code? Yes. |
Thread Tools | |
Display Modes | |
|
|