Click to See Complete Forum and Search --> : Rich Text Format


February 2nd, 2000, 03:16 PM
I looking a sample about how to paste a BMP from
clipboard, I tried this

rtfVista.OLEObjects.Add , , , Clipboard.GetData()

rtfVista.Refresh

I tried to get the RichText.vbp, which is located in
the VB\Samples\CompTool directory of the Visual Basic
CD-ROM, but I couldnt find it, anybody will help me?

Thanks by your help
Alfredo

Astinite
February 2nd, 2000, 11:43 PM
try this:
clipboard.getdata(vbCFBitmap)


That's the format to get a .bmp from the clipboard data.