Microsoft KB Archive/195263

= BUG: SavePicture Function Hangs VFP When Zero Disk Space =

Article ID: 195263

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 Q195263



SYMPTOMS
Using the SavePicture function to create a bitmap from a picture object reference and saving it to a storage media that has zero disk space hangs Visual FoxPro 5.x or 6.0.



RESOLUTION
Free up some disk space before using the SavePicture function to create a bitmap.



STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article.



Steps to Reproduce Behavior
 Copy some files onto a floppy disk until it reports 0 free space.  In the Visual FoxPro Command window, type the following command: oPicture = LOADPICTURE(HOME+"fox.bmp") ?     SAVEPICTURE(oPicture,"a:\foxtest.bmp") 

RESULT: Visual FoxPro hangs and you have to press Ctrl+Alt+Del to terminate Visual FoxPro.

Keywords: kbbug kbnofix kbxbase KB195263

-

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

© Microsoft Corporation. All rights reserved.