Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Delete at my folder
Message
From
11/04/2007 08:54:06
 
 
To
11/04/2007 08:38:07
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01214330
Message ID:
01214362
Views:
12
hi,
thank you very much for reply,

i made small project to do somthing ,
and my customer need to test this project as for ex.. one month,
after this month if he did't call me i want to stop this project autamtic via my test.prg as..

if date=.....
delete,remove clear
else
do my mainform
endif

thanks alot




>>thank you,
>>i try as ex..
>>erase vfp9renu.dll&& it ok.
>>
>>but what i need ,if date=11/04/2007 delete my folder or delete all .DLL,forms,programs...etc
>>
>>i mean if any user play with pc date or server date as return date to 10/04/2007 can't work any more.

>
>
>You mean you want to run a program that uninstalls VFP? That makes no sense and cannot be doine from VFP. You have to uninstall from Control Panel. You cannot simply erase DLLs. In fact many may be in use and Windows may not allow you to delete until released from memory.
>
>As per checking a certain date, as you figured out it does not work if users can change the system date. All you can do is educate your users. Why would you delete the program after a certain date anyway? If you mean it as a security measure it wont work as it is easily thwarted.
Previous
Reply
Map
View

Click here to load this message in the networking platform