Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A Tablet Challenge...why can't I save my Signature?
Message
From
19/10/2004 09:59:18
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
A Tablet Challenge...why can't I save my Signature?
Miscellaneous
Thread ID:
00952595
Message ID:
00952595
Views:
51
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
Map
View

Click here to load this message in the networking platform