clipboard.clear...

  • Thread starter Thread starter Gary
  • Start date Start date
G

Gary

hi, how does one clear the clipboard in vb.net? i used clipboard.clear in
vb6.

thanks,

Gary
 
* "Gary said:
hi, how does one clear the clipboard in vb.net? i used clipboard.clear in
vb6.

Untested: You can try to use 'Clipboard.SetDataObject' with an empty object.
 
Hi Gary,

Imports System.Windows.Forms
Module Module1
Sub Main()
Dim o As New Object
Clipboard.SetDataObject(o)
End Sub
End Module

I has tested the code and it will work for me.

Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 
Hi Gary,

Did the solution works for you?

Regards,
Peter Huang
Microsoft Online Partner Support
Get Secure! www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top