Yes, you were right.
That was the result of 'macro security' of kaspersky.
Ouf.
It is a great help for me.
Thanks sincerely.
Philip
"Marshall Barton" <(E-Mail Removed)> a écrit dans le message de news:
(E-Mail Removed)...
> philip wrote:
>
>>It is the third time that I have this problem since two years :
>>The function 'kill', 'dir' and 'shell' doesn't function anymore.
>>More, the function 'kill' causes the exit of the current procedure.
>>I replaced these functions usinf object FileScripting.
>>
>>But also, the function 'shell' doesn't function anymore.
>>
>>So I have two questions :
>>1. Someone does he know the origin of this problem ?
>>2. How can I replace the 'shell' function ?
>>
>>One solution only, if someone doesn't help me : reinstall Windows. I did
>>that twice in two years for this reason.
>
>
> That sounds like a security setting. Try checking Help for
> Sandbox for details.
>
> --
> Marsh
> MVP [MS Access]