Information générale
Catégorie:
COM/DCOM et OLE Automation
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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement