Suppose I don't want to allow users of my program to paste images in a textbox of my program. So I can use in the "mnuEdit_Click" an expression like this:
If not Clipboard.GetFormat(vbCFText) Then mnuPaste.Enabled = false
Still the user can bypass my code and paste an non-text...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.