well, what if parents are not skilled with computers but they don't want
their children to watch porn? Then such application is perfect :)))

2009/8/30 Vitaly Maslevskiy <[email protected]>

>
> Hey, was just a joke :D don't take it serious.
>
>
>
> 2009/8/30 Marcus <[email protected]>:
> >
> > Thanks for this answer. I will probably use Maslevskiy's code together
> > with a FileSystemWatcher instead of a timer, and I am tempted to use a
> > windows service for this sabotage protection utility, so thanks for
> > that link aswell.
> >
> > As I said to Maslevskiy, I am NOT writing a virus, but a parental
> > software.
> >
> > thanks again!
> >
> > On 29 Aug, 11:52, Velsankar <[email protected]> wrote:
> >> Use FileSystemWatcher to watch a file instead of timer
> >>
> >>
> http://msdn.microsoft.com/en-us/library/system.io.filesystemwatcher.aspx
> >>
> >> Use windows service to start the process.
> http://www.codeproject.com/KB/cs/filewatcherwinservicecsha.aspx
> >>
> >> Rgds,
> >> Velsankar
> >>
> >> On Aug 29, 1:38 pm, Marcus <[email protected]> wrote:
> >>
> >>
> >>
> >> > Hello
> >>
> >> > I need to store a small exe file in memory. I want to do this because
> >> > I want some sabotage protection in my app. If the user removes this
> >> > essential file from the harddrive, my app will not work the next time
> >> > it is to be launched.
> >>
> >> > So I want to read this exe file into memory initially when my program
> >> > starts up. Then I will use a timer that at some interval checks if
> >> > this file is present on the file system. If not, then my app writes it
> >> > back from memory to the harddrive.
> >>
> >> > Could someone please give an example how to do this. It should be a
> >> > pretty small piece of could I reccon, but I can not figure it out.
> >>
> >> > Thanks- Dölj citerad text -
> >>
> >> - Visa citerad text -
>

Reply via email to