Create a desktop shortcut to clear the Windows clipboard

Reply

Join Date: Aug 2008
Posts: 84
Reputation: francisabey is an unknown quantity at this point 
Solved Threads: 6
francisabey francisabey is offline Offline
Junior Poster in Training

Create a desktop shortcut to clear the Windows clipboard

 
0
  #1
May 27th, 2009
The Clipboard is a temporary storage area used by Vista. Information (such as text, files, graphics, sound, or video) can be copied to the Clipboard from one program or location and pasted elsewhere. The Clipboard can only hold one piece of information at a time. Whenever something is copied to the Clipboard, it replaces whatever was there before automatically.

This trick can be handy if you just want to clear the Clipboard without having to copy something else to do so. This way you do not have potential sensitive information just sitting in the Clipboard.

Here's How To: Create A Desktop Shortcut To Clear The Clipboard In Windows 7 Or In Vista
Reply With Quote Quick reply to this message  
Join Date: May 2009
Posts: 18
Reputation: themaster has a little shameless behaviour in the past 
Solved Threads: 2
themaster themaster is offline Offline
Newbie Poster

Re: Create a desktop shortcut to clear the Windows clipboard

 
0
  #2
Jun 8th, 2009
If you have Visual Studio 2008 Express or any Visual Studio 2008 Edition, you can just use Clipboard.Clear() with VB,Clipboard.Clear(); with C#.

You can put these functions under the Form1_Load method and close the application using Application.Exit() for VB and Application.Exit(); for C#.

This will clear the clipboard and close your application immediately.
Reply With Quote Quick reply to this message  
Join Date: Sep 2009
Posts: 7
Reputation: opcode is an unknown quantity at this point 
Solved Threads: 3
opcode opcode is offline Offline
Newbie Poster
 
0
  #3
32 Days Ago
Here is an article which describes how to use windows clipboard using native Win32 functions.
Writing to Windows Clipboard
Reply With Quote Quick reply to this message  
Reply

Message:



Similar Threads
Other Threads in the Windows tips 'n' tweaks Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC