Invalid Clipboard format

Error 460


The specified Clipboard format is incompatible with the method being executed.  GetTextZJ4U8E and SetText3ES2UB can be used only with CF_TEXT or CF_LINK formats.  GetDataZIOQ42 and SetData3EBYPZ can be used only with CF_BITMAP, CF_METAFILEPICT (Windows metafile picture), or CF_DIB (device independent bitmap) formats.


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