General information
Category:
COM/DCOM and OLE Automation
Title:
A Tablet Challenge...why can't I save my Signature?
I am trying to use the Tablet SDK to capture Ink...sepecificially using the InkPicture control to capture and save signatures, and then retrieve signatures on a Tablet PC app I'm writing. Here is the code...no big deal...but I get an Error every time on the Load()
*Code to save ink, ie. signature (in click event of button):
lsInk = This.Parent.oleink.Ink.Save(0)
STRTOFILE(lsink,"c:\mysavedink\ink.isf")
* Code to retrieve ink (i.e., signature):
lsInk= CREATEBINARY(FILETOSTR("c:\mysavedink\ink.isf"))
WITH This.Parent.oleink
.Enabled = 0
.ink.Load(lsInk)
.Enabled = 1
ENDWITH
The error is "The Parameter is Incorrect..." Yet I am using the exact code in the sample at MSDN.
Has anyone tried this type of App before, and if so, what did you do differently to save/retrieve ink?
Thanks! Bob
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only