G Guest Jan 11, 2006 #1 Does anyone know what the command would be in Visual Basic to empty the Clipboard for example when closing a form? Thank you, Nora
Does anyone know what the command would be in Visual Basic to empty the Clipboard for example when closing a form? Thank you, Nora
D Dirk Goldgar Jan 11, 2006 #2 Sarah said: Does anyone know what the command would be in Visual Basic to empty the Clipboard for example when closing a form? Thank you, Nora Click to expand... Is it Nora or Sarah? The page below includes several function for manipulating the clipboard, including emptying it: http://www.mvps.org/access/api/api0049.htm API: Copy variables/control contents to memory With those API functions declared, I believe your call sequence would be: If OpenClipboard(0&) <> 0 Then Call EmptyClipboard If CloseClipboard = 0 Then MsgBox "Could not close Clipboard." End If End If
Sarah said: Does anyone know what the command would be in Visual Basic to empty the Clipboard for example when closing a form? Thank you, Nora Click to expand... Is it Nora or Sarah? The page below includes several function for manipulating the clipboard, including emptying it: http://www.mvps.org/access/api/api0049.htm API: Copy variables/control contents to memory With those API functions declared, I believe your call sequence would be: If OpenClipboard(0&) <> 0 Then Call EmptyClipboard If CloseClipboard = 0 Then MsgBox "Could not close Clipboard." End If End If