I am using vfp6
I want to be able to detect when a programmer has completed modifying files.
I will start the edit from a button click but I want to use the NOWAIT
option on the modify command. Then when the file has been modified I would
like to do some processing on it.
I would prefer not to use a timer to check whether the forms are still being
modified. I want something closer to an event. I have tried bindevents, but
it doesn't seem to work with a form. I get "No such interface supported".
The other option is to watch the date and times on the files in a particular
directory but again I wanted to avoid using a timer for polling.
Any help would be appreciated.

Re: Detecting when a "modify ... NOWAIT" is complete by Aaron

Aaron
Sat Mar 19 04:03:24 CST 2005

In 7.0 and higher WAIT CLEAR works - don't remember if that was present in
v6.
Aaron


"Paul" <paulnospam@laberg.com.au> wrote in message
news:%23jg6hgFLFHA.3592@TK2MSFTNGP10.phx.gbl...
> I am using vfp6
> I want to be able to detect when a programmer has completed modifying
files.
> I will start the edit from a button click but I want to use the NOWAIT
> option on the modify command. Then when the file has been modified I would
> like to do some processing on it.
> I would prefer not to use a timer to check whether the forms are still
being
> modified. I want something closer to an event. I have tried bindevents,
but
> it doesn't seem to work with a form. I get "No such interface supported".
> The other option is to watch the date and times on the files in a
particular
> directory but again I wanted to avoid using a timer for polling.
> Any help would be appreciated.
>
>



Re: Detecting when a "modify ... NOWAIT" is complete by Aaron

Aaron
Sat Mar 19 04:05:51 CST 2005

Sorry - didn't read your question properly... please disregard my
"contribution".
Aaron


"Aaron Blacksmith" <Aaron@___Nospam.com> wrote in message
news:MNS_d.19971$d5.150787@newsb.telia.net...
> In 7.0 and higher WAIT CLEAR works - don't remember if that was present in
> v6.
> Aaron
>
>
> "Paul" <paulnospam@laberg.com.au> wrote in message
> news:%23jg6hgFLFHA.3592@TK2MSFTNGP10.phx.gbl...
> > I am using vfp6
> > I want to be able to detect when a programmer has completed modifying
> files.
> > I will start the edit from a button click but I want to use the NOWAIT
> > option on the modify command. Then when the file has been modified I
would
> > like to do some processing on it.
> > I would prefer not to use a timer to check whether the forms are still
> being
> > modified. I want something closer to an event. I have tried bindevents,
> but
> > it doesn't seem to work with a form. I get "No such interface
supported".
> > The other option is to watch the date and times on the files in a
> particular
> > directory but again I wanted to avoid using a timer for polling.
> > Any help would be appreciated.
> >
> >
>
>



Re: Detecting when a "modify ... NOWAIT" is complete by Mark

Mark
Sat Mar 19 08:45:46 CST 2005

All I can think of is using a form with an edit box on it to allow the
programmer to modify the file in. Then you can certainly detect when that
form closes. Unfortunately, you lose syntax coloring if you do. Too bad you
are not in VFP9 where I think you could do this easier.

"Paul" <paulnospam@laberg.com.au> wrote in message
news:%23jg6hgFLFHA.3592@TK2MSFTNGP10.phx.gbl...
> I am using vfp6
> I want to be able to detect when a programmer has completed modifying
files.
> I will start the edit from a button click but I want to use the NOWAIT
> option on the modify command. Then when the file has been modified I would
> like to do some processing on it.
> I would prefer not to use a timer to check whether the forms are still
being
> modified. I want something closer to an event. I have tried bindevents,
but
> it doesn't seem to work with a form. I get "No such interface supported".
> The other option is to watch the date and times on the files in a
particular
> directory but again I wanted to avoid using a timer for polling.
> Any help would be appreciated.
>
>