Edit image on form and save as external file (ac2003)

O

ondine

I'm trying to add a control on to a form to take a person's
signature. I'm not using a tablet pc, just a usb tablet and pen. I
would like to load the form with a blank bitmap or jpeg image in the
control by loading a saved blank file when the form is opened, get the
signature and then save the image on close as an external file - I
don't particularly want to save it as an OLE object or image field in
the record due to the potential number of images which will be
involved. So I'll just name it with the unique Id of the record so
that it can be fetched back when needed.

Alternatively, I can create a new blank image at some point in the
process by copying the default file but I can't seem to load that file
to the OLE object at runtime.

I've tried adding an unbound OLE paint control, but can't seem to save
the image - I used the code:
SavePicture Me!imgSig.Object, stFile
and got the error:
The component doesn't support Automation.

Also, the idea is to edit the image directly in the form, rather than
by opening Paint, which I managed by setting the verb to 1.

I had a look at using MS Ink but that seems to be formulated for
Tablet pc's.

Has anyone had any experience with this? I'm a bit lost!

Any suggestions would be great, thanks.
 

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

Top