General information
Category:
Coding, syntax & commands
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only