Tag Archives: clear

Clear the Windows Clipboard using VB 2005 and Higher

Click Star to Rate Post
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
 

Uses the simple MY interface feature to clear the windows clipboard.

        '
        'Clear the Windows Clipboard.
        '
        My.Computer.Clipboard.Clear()

Clear the Drawing Surface using VB.NET and GDI+

Click Star to Rate Post
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
 

Clears the drawing surfice using GDI+ and VB.NET

        '
        'Change e to whatever your graphics variable is.
        'Change Black to whatever you want the color to be
        e.Graphics.Clear(Color.Black)