Specified format does not match format of data

Error 461

 

In a GetDataZIOQ42 or SetData3EBYPZ method, the Clipboard format you specified does not match the actual data.  For example, you might have specified CF_BITMAP for the format, but the data is in the Windows metafile format (CF_METAFILEPICT).  Make sure you specify the correct format for the data.

Note

The Clipboard formats, such as CF_TEXT and CF_BITMAP, are global constants that must be set to numerical values found in CONSTANT.TXT.  If you do not initialize these in your code, Visual Basic treats them as variables and initializes them to 0.

See also

GetFormatNGJXI2