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 21 4670
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]
Steve wrote: Does anyone have any ideas on how to write self-destruct code?
Yes.
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
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
So, do you want to share your ideas?
"Salad" <oi*@vinegar.com> wrote in message
news:Qn*******************@newsread1.news.pas.eart hlink.net... Steve wrote:
Does anyone have any ideas on how to write self-destruct code?
Yes.
Not at all!!!
It's for a one-time cleanup of data in a database.
Steve
"Thilo Immel" <Ac******@web.de> wrote in message
news:nm********************************@4ax.com... 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
"Steve" <no****@nospam.spam> wrote in message
news:tj*******************@newsread2.news.atl.eart 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
"Steve" <no****@nospam.spam> wrote in message
news:tj*******************@newsread2.news.atl.eart hlink.net... Not at all!!!
It's for a one-time cleanup of data in a database.
Put the code in it's own module and use
docmd.deleteobject acModule, "EvilCode"
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" <Ac******@web.de> wrote in message news:nm********************************@4ax.com...
Steve,
Steve wrote: So, do you want to share your ideas?
Without more information, never.
"Salad" <oi*@vinegar.com> wrote in message news:Qn*******************@newsread1.news.pas.eart hlink.net...
Steve wrote:
Does anyone have any ideas on how to write self-destruct code?
Yes.
if he were, would you really expect him to admit it? <g>
"Thilo Immel" <Ac******@web.de> wrote in message
news:nm********************************@4ax.com... 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
thatinitiated 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
You could probably wire up a relay that was activated by the end of the
code, that set of a lump of C4 or Semtex. That would "self destroy" the
code.
Rob "Thilo Immel" <Ac******@web.de> wrote in message news:nm********************************@4ax.com... 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
theprocedure is successful, the procedure needs to be deleted and the code thatinitiated 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
"Steve" <no****@nospam.spam> wrote in message
news:tj*******************@newsread2.news.atl.eart hlink.net... Not at all!!!
It's for a one-time cleanup of data in a database.
Write it in VBScript and call it from your app using the Shell function. The VBScript can self destruct
upon completion.
Steve
"Thilo Immel" <Ac******@web.de> wrote in message news:nm********************************@4ax.com... 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
Are you related to Don Mellon? Seems the two of you are cut from the same mold!
"Salad" <oi*@vinegar.com> wrote in message
news:pF******************@newsread1.news.pas.earth link.net... 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" <Ac******@web.de> wrote in message news:nm********************************@4ax.com...
Steve,
Thanks, Mike, but I still then have the Shell code remaining.
"MikeB" <m.byerleyATVerizontDOTnet> wrote in message
news:OL**************@TK2MSFTNGP10.phx.gbl... "Steve" <no****@nospam.spam> wrote in message news:tj*******************@newsread2.news.atl.eart hlink.net... Not at all!!!
It's for a one-time cleanup of data in a database. Write it in VBScript and call it from your app using the Shell function. The
VBScript can self destruct upon completion.
Steve
"Thilo Immel" <Ac******@web.de> wrote in message news:nm********************************@4ax.com... 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
Is this one of those Al Quida solutions?
"OM" <le******@loxinfo.dot.co.th> wrote in message
news:c9**********@news.loxinfo.co.th... You could probably wire up a relay that was activated by the end of the code, that set of a lump of C4 or Semtex. That would "self destroy" the code.
Rob
"Thilo Immel" <Ac******@web.de> wrote in message news:nm********************************@4ax.com... 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
"Steve" <no****@nospam.spam> wrote: Are you related to Don Mellon? Seems the two of you are cut from the same mold!
Not from what I've seen.
Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at http://www.granite.ab.ca/accsmstr.htm
the only intelligent post in this hole thred is by tony but all he does is
read message headers not messages
Steve wrote: Are you related to Don Mellon? Seems the two of you are cut from the same mold!
Beyond being related to the family of man, no.
Looking back to your 4/2/2004 request "Does anyone know of any site one
could go to, upload several thousand social security numbers and get the
current address of the matches to the SSNs?" I think most people in this
thread have you pegged correctly...or else as a troll.
"Clyde" <no****@nospam.net> wrote in message the only intelligent post in this hole thred is by tony but all he does is read message headers not messages
Hi, Don. I didn't think you trolled on weekends.
and since you're not Tony, what does that say about YOUR message ?
Rob
"Clyde" <no****@nospam.net> wrote in message
news:a4******************************@news.teranew s.com... the only intelligent post in this hole thred is by tony but all he does is read message headers not messages
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Ralf W. Grosse-Kunstleve |
last post by:
******************************************************************************
This posting is also available in HTML format:
http://cci.lbl.gov/~rwgk/python/adopt_init_args_2005_07_02.html...
|
by: Lasse Skyum |
last post by:
I'm currently learning STL and I hate not knowing what is gooing on "inside"
STL... not because I really _need_ to know it to develop my game project,
but that's just my nature... like most of you...
|
by: Jason Shohet |
last post by:
Is there a way for a code-behind to delete the dll after an expiration, or
if a user doesn't enter the right password. ie, lets say i license
something to someone for 3 months. After that time,...
|
by: Frederick Gotham |
last post by:
If we have a simple class such as follows:
#include <string>
struct MyStruct {
std::string member;
MyStruct(unsigned const i)
{
|
by: Genalube |
last post by:
All right I am new at access but why would my calculated fields in my query self destruct all of a sudden? I tested these expressions, saved the query and closed it. I reopened them and tested it. ...
|
by: braver |
last post by:
Is there any trick to get rid of having to type the annoying,
character-eating "self." prefix everywhere in a class? Sometimes I
avoid OO just not to deal with its verbosity. In fact, I try to...
|
by: tekctrl |
last post by:
(See earlier post "Record Is Too Large")
This morning I just wiped out all earlier tables, kept the original tab
delimited table and Form, then went back in and did a complete new DB split
and...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |