Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A Tablet Challenge...why can't I save my Signature?
Message
From
23/11/2004 16:17:17
David Foulkes
Probusiness Systems, Inc.
Cedar Park, Texas, United States
 
 
To
21/11/2004 00:09:47
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00952595
Message ID:
00964034
Views:
9
Hi Bob.
Thank you for the info. I had to laugh; your description was well worded.
I figured out my snag as well.
Thanks Again.
GorgAnna

>Yes. I did get an answer from someone on the TabletPC Newsgroup (Microsoft).
>
>The problem is a lot more detailed, you can't retrieve the ink into an existing object. So you have to recreate the object. But here's the rub, you can't create a new object with the same name on the same form. So you have to come up with a new object name each time. (I used sys(2015) to help create an object name that was guaranteed to be new.
>
>It was a lot of fun, and I got it working if you want more info, give me a yell.
>
>Bob Bartel
>
>
>>Hi Bob.
>>I noticed that you posted your query a month ago. I'm running into the same error. And, I've expanded my requirements to save to a BMP or JPG instead of a ISF. I've combed the internet and have concluded that this problem has got to be a simple syntax error. Did you ever find any documentation that helped?
>>If you did, please let me know. Otherwise, I'll let you know what I find.
>>Thank You.
>>GorgAnna
>>
>>
>>
>>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform