>I want to kill a VFP process from wOrd with Visual Basic.
>
>I receive a error when a call a method with the Quit Command.
>So I try to use a timer to kill the process but it seem's that the
>timer don't work's in a process ? Is this true ?
The Quit actually works as it should - the result isn't what you want though.
When you Quit a VFP server, you kill the object instance which in turn
causes the COM client to retrieve a COM exception (probably Not Enough
Storage is available).
You should *never* kill a COM object from within itself. The client is
responsible for the lifetime of the object.
Set oVFPObject = nothing
should do the trick.
A timer will work only if your COM object is a) an EXE server and b) has
a user interface.
+++ Rick ---