Microsoft KB Archive/299336

= FIX: Fatal Exception Error When You Attempt to Paste Text in Macros Dialog Box =

Article ID: 299336

Article Last Modified on 10/16/2002

-

APPLIES TO


 * Microsoft Visual FoxPro 5.0 Standard Edition
 * Microsoft Visual FoxPro 5.0a
 * Microsoft Visual FoxPro 6.0 Professional Edition

-



This article was previously published under Q299336



SYMPTOMS
When you create a new macro in Microsoft Visual FoxPro (VFP) versions 5.0 and 6.0, a particular series of actions can cause a Fatal Exception error to occur.



STATUS
This problem was corrected in Microsoft Visual FoxPro version 7.0 for Windows.



Steps to Reproduce Behavior
 Open VFP 5.0 or 6.0.  Create a new program and paste the following code in the Editor window: CLEAR MACROS KEYBOARD '{ALT+T}a{ALT+N}{TAB}{TAB}'  Save and run the code (the program name is not important). The New Macro dialog box is now displayed, with the Macros dialog box displayed behind it. Click the Windows taskbar to remove the focus from VFP. Click back inside VFP on the title bar of the Macros dialog box (not the New Macro dialog box). Press CTRL+V to paste the contents of the clipboard into the macro contents field.

VFP 5 and 6 now crash with a Fatal Exception error.

Keywords: kbbug kbfix kbbuilder kbvfp700fix KB299336

-

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

© Microsoft Corporation. All rights reserved.