Home All Groups Group Topic Archive Search About

How to clear clipboard?

Author
11 May 2005 7:37 PM
barbara_dave
Hi,

I have a VB6.0 program which is doing copy and paste data. I use
Clipboard.clear to clear the clipboard, but the data still stay in the
system clipboard and can not be deleted. Could someone know to how to
make program delete the data in system clipboard?

Thanks

Author
11 May 2005 7:45 PM
Peter Aitken
<barbara_d***@yahoo.com> wrote in message
news:1115840227.534017.125330@f14g2000cwb.googlegroups.com...
> Hi,
>
> I have a VB6.0 program which is doing copy and paste data. I use
> Clipboard.clear to clear the clipboard, but the data still stay in the
> system clipboard and can not be deleted. Could someone know to how to
> make program delete the data in system clipboard?
>
> Thanks
>

Clipboard.Clear *does* clear the system clipboard. How are you detecting the
data that is not cleared? Some programs including some Office programs
implement their own clipboard and Clear would not affect them.


--
Peter Aitken

Remove the crap from my email address before using.
Author
11 May 2005 9:55 PM
barbara_dave
I open "Office Clipboard" in Excel when the program doing copy and
paste. The data goes to Excel Office Clipboard and Clipboard.clear can
not clear the data in Excel. Is there a way not make the data go to
Excel clipboard?

Thanks

Peter Aitken wrote:
Show quote
> <barbara_d***@yahoo.com> wrote in message
> news:1115840227.534017.125330@f14g2000cwb.googlegroups.com...
> > Hi,
> >
> > I have a VB6.0 program which is doing copy and paste data. I use
> > Clipboard.clear to clear the clipboard, but the data still stay in
the
> > system clipboard and can not be deleted. Could someone know to how
to
> > make program delete the data in system clipboard?
> >
> > Thanks
> >
>
> Clipboard.Clear *does* clear the system clipboard. How are you
detecting the
> data that is not cleared? Some programs including some Office
programs
> implement their own clipboard and Clear would not affect them.
>
>
> --
> Peter Aitken
>
> Remove the crap from my email address before using.
Author
12 May 2005 1:21 PM
Jeff Johnson [MVP: VB]
<barbara_d***@yahoo.com> wrote in message
news:1115848539.193350.243570@g14g2000cwa.googlegroups.com...

>I open "Office Clipboard" in Excel when the program doing copy and
> paste. The data goes to Excel Office Clipboard and Clipboard.clear can
> not clear the data in Excel. Is there a way not make the data go to
> Excel clipboard?

microsoft.public.excel.programming.

AddThis Social Bookmark Button