Help with clipboard 
Author Message
 Help with clipboard

this :
SavePicture Clipboard.GetData, "c:\vic.bmp"

"error Invalid property    "  what happend??

thank you

Victor



Sun, 13 Feb 2005 06:54:37 GMT  
 Help with clipboard
On Tue, 27 Aug 2002 17:54:37 -0500, "Victor"

Quote:

>this :
>SavePicture Clipboard.GetData, "c:\vic.bmp"

>"error Invalid property    "  what happend??

>thank you

>Victor

You might want to try something like the following....

  If Clipboard.GetFormat(vbCFBitmap) = True Then
    SavePicture Clipboard.GetData(vbCFBitmap), "c:\vic.bmp"
  Else
    MsgBox "Incorrect data format on the clipboard."
  End If

HTH,
Bryan
____________________________________________________________
New Vision Software            "When the going gets weird,"
Bryan Stafford                   "the weird turn pro."

Microsoft MVP-Visual Basic     Fear and Loathing in LasVegas



Sun, 13 Feb 2005 07:05:46 GMT  
 Help with clipboard
Thank alpine

Victor


Quote:
> On Tue, 27 Aug 2002 17:54:37 -0500, "Victor"

> >this :
> >SavePicture Clipboard.GetData, "c:\vic.bmp"

> >"error Invalid property    "  what happend??

> >thank you

> >Victor

> You might want to try something like the following....

>   If Clipboard.GetFormat(vbCFBitmap) = True Then
>     SavePicture Clipboard.GetData(vbCFBitmap), "c:\vic.bmp"
>   Else
>     MsgBox "Incorrect data format on the clipboard."
>   End If

> HTH,
> Bryan
> ____________________________________________________________
> New Vision Software            "When the going gets weird,"
> Bryan Stafford          "the weird turn pro."

> Microsoft MVP-Visual Basic     Fear and Loathing in LasVegas



Sat, 19 Feb 2005 01:02:08 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Please Help on clipboard

2. Help with Clipboard

3. Please help on clipboard

4. Help w/ clipboard

5. Need help with ClipBoard!!

6. Need help for clipboard formatting...

7. Please help with clipboard

8. Need help with clipboard limit

9. Help: Userdefined Clipboard Formats

10. Need Help from Clipboard Gurus

11. Access XP: Clearing the clipboard / not saving data to the clipboard

12. Clipboard object questions... using the clipboard with vb4

 

 
Powered by phpBB® Forum Software