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 object with ^V. Is it possible to avoid it?
If not Clipboard.GetFormat(vbCFText) Then mnuPaste.Enabled = false
Still the user can bypass my code and paste an non-text object with ^V. Is it possible to avoid it?