Microsoft KB Archive/109239

= PRB: FoxPro Does Not Respond to Apple Events During READ =

Article ID: 109239

Article Last Modified on 10/15/2003

-

APPLIES TO


 * Microsoft Visual FoxPro 3.0b for Macintosh
 * Microsoft FoxPro 2.5b for Macintosh

-



This article was previously published under Q109239



SYMPTOMS
AppleScript generates a dialog box containing one of the following error messages:  

Application "Microsoft FoxPro" Doesn't Understand the  Message.

-or- 

AppleEvent timed out.





CAUSE
FoxPro does not respond to Apple events while a READ or a READ EVENTS command is in effect.



MORE INFORMATION
NOTE: This problem occurs with most FoxPro .EXE and .APP files because they usually contain a Foundation READ (GET-less READ). This causes the "AppleEvent timed out" error message.

Steps to Reproduce Behavior
  Start the Script Editor, and enter the following code: tell application "Microsoft FoxPro" to quit  Save the script as an application. From the File menu, choose Save. In the dialog box that appears, select Application from the Format popup. Quit the Script Editor, and start Microsoft FoxPro.</li>  In the Command window, type the following code: @1,1 GET test DEFAULT SPACE(10) READ CYCLE </li> Click on the Macintosh desktop or choose the Finder application from the application menu on the far right of the menu bar.</li> With FoxPro now in the background, find the script you saved in step 2, and double-click the script to launch it. The script will tell FoxPro to quit, but the above error will be returned because a READ command is in effect.</li></ol>

Additional query words: vFoxmac FoxMac 3.00 appleevent

Keywords: KB109239

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.