>Dear Experts
>
>I have observed that sometime some virus attacks on visual foxpro exe file, I mean any exe compiled in vfp, and virus writes some codes in exe. Next time when I try to run same exe it shows following error message
>
>D:\ginning\accounts.exe is not a Visual Foxpro .Exe file
>
>Then I check the size and creation time. The size is increased and time is also changed.
>
>Is there any method to lock exe so virus could not write something in visual foxpro exe?
Not that I know of. You could try marking your executables as read-only, but most viruses are capable of overcoming this. Another possibility is that a Fox self-extractor/encryptor like KonXise might fool viruses into thinking it's not a regular Win32 executable.
http://www.hieroglyphix.co.uk/konxise.php>
>One other interesting thing is that the virus attacks only on VFP exe files not on FPD26. what is reason?
DOS/Extended DOS executables (FPD26) are different from Win32 executables.
>
>Is VFP exe is so sensitive?
No more than any other type of Win32 executable.
The best solution by far is to get rid of the viruses. There are free products available e.g. AVG:
http://www.grisoft.com
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up