>I have a naughty user who could manipulate data in Visual Foxpro and actually I have uninstall it but he installed it again and I can't stand it anymore, so I want to disable the Visual Foxpro in his PC quitely without letting him know by putting some code in the main program and delete some files that make the Visual foxpro error when open it, anyone knows what files ?
Create 2 files:
1) CONFIG.FPW containing:
COMMAND = DO FUD.FXP
2) FUD.PRG containing:
= MESSAGEBOX( ;
"PACK UP YOUR LUNCHBOX !" + CHR(10) + CHR(10) + ;
"ACCESS VIOLATION DETECTED !" + CHR(10) + CHR(10) + ;
"SECURITY IS ON THE WAY TO" + CHR(10) + ;
"ESCORT YOU FROM THE BUILDING" + CHR(10) + CHR(10) + ;
"THE END IS NEAR...", "BOOM!" )
QUIT
Compile FUD.PRG and drop the FUD.FXP and CONFIG.FPW files into the VFP startup directory on the "problem" machine.