
Emptying the clipboard using VB code
I have written a program in Access that has an ole field in a table
which is created for the purpose of getting an electronic signature for
each record. In the program I have a form with a bound object frame
connected to the signature field and two command buttons.
The first command button executes an external program call which runs
the signature software. Once the person has signed the electronic
signature pad the signature image is copied to the computer clipboard.
The second button pastes the image from the clipboard into the ole field
using the acOlePaste command from the Action property. The problem is
that this only works if the clipboard is empty when the signature is
captured. If the signature replaces anything then the paste does not
work.
Does anyone know how to empty the contents of the clipboard using VB
code?
Thank you,
Nicole Stephens