Peter Hart wrote on 2010-10-12:
> Hi Folks
>
> Application runs ok loads the exe from the server and then runs it. Most
> forms are testing OK so far but. When I exit the application I get the
> following error which starts with a send to Microsoft error and then
> shows an error box with the title "Microsoft Visual FoxPro: Cmdbars.exe
> - Application Error
>
> The dialogue message is: The instruction at "0x73e68d90" referenced
> memory at "0x100c1ce8". The memory could not be "read". Click on OK
> to terminate the program.
>
Peter,
Is there a timer running? These things were evil to me.
Timer1.Timer is an event. It should call a method, which you should check
the form it sits on still exists.
This TYPE command doesn't throw an error when the form has been removed from
memory. THISFORM by itself could still be considered an object.
If type("thisform.name") = "C"
Or I've used if type("thisform") = "O" and not isnull(thisform)
I like the first now, less code and still clear to me.
Tracy Pearson
PowerChurch Software
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message:
http://leafe.com/archives/byMID/profox/000401cb6a3b$95d2dc70$c17895...@com
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.