PRB: APPEND GENERAL CLASS PBRUSH Halts FoxPro Under WIN95Last reviewed: January 9, 1997Article ID: Q154309 |
The information in this article applies to:
SYMPTOMSIf you run FoxPro for Windows version 2.6a under Windows 95, the application stops responding when you issue an APPEND GENERAL to insert an OLE object in a GENERAL field. For example, when you issue the command below, FoxPro halts and you may have to END TASK to shut down FoxPro:
APPEND GENERAL <general field name> FROM <bitmap.bmp> CLASS "PBRUSH"If you issue the following command to insert a BMP into a GENERAL field, FoxPro stops responding also:
APPEND GENERAL <TABLENAME>.<FIELDNAME> FROM "BITMAP FILE NAME.BMP" ; CLASS "PBRUSH" LINK CAUSEThis error occurs because the CLASS name for the Paint program under Windows 95, currently called MSPAINT.EXE, has been changed to PAINT.PICTURE.
RESOLUTIONIssue the same command as before, but replace the CLASS "PBRUSH" clause with CLASS "PAINT.PICTURE." For example:
APPEND GENERAL <TABLENAME>.<FIELDNAME> FROM "BITMAP FILE NAME.BMP"; CLASS "PAINT.PICTURE" LINK STATUSThis behavior is by design.
MORE INFORMATIONIf you issue the same command without specifying the CLASS clause, it still works fine. You do not have to use the CLASS clause if the object file extension is the default, such as BMP for bitmap object files.
|
KBCategory: kbinterop kbusage kbole kbprb
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |