General information
Category:
COM/DCOM and OLE Automation
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
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