>I have the need to attach files into a "General" field in foxpro to insert Word and Excel files. How can I scan the files for viruses using Norton Antivirus from my code?
>
>Appreciate any help
>Luis
Once you put a file into a General field, it is difficult to take it out again. Also, it takes up more space. Also, you can quickly approach the 2 GB file limit in VFP.
Perhaps you might consider the alternative of storing only the filename in a character or memo field.
Of course, you will still have to check the AV options. I don't know - search the help for "command-line options" or something similar.
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)