Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using the InkPicture Control

Status
Not open for further replies.

akenty

Programmer
Jan 10, 2003
18
0
0
CA
I have a PowerBuilder 8.0 application which requires capturing a client's signature. How do I copy a signature (drawing) to the clipboard when using the Microsoft InkPicture control? I have placed the OLE control on my window and I am able to scratch a signature into the control, but I am not able to pass the signature to the clipboard. I've gone through the clipboard example in the MS Tablet PC SDK and found the ClipboardCopy command, but I get a Null Object reference when trying to run the following:


ole_1.object.Ink.ClipboardCopy(ls_null,14,1)

arguments are:
ls_null - if null, copies all the ink
14 - .EMF format (found w/ msgbox when running example)
0 - clipboard mode(found w/ msgbox when running example)

Any help would be greatly appreciated.
Thanks in advance
Andy

 

It looks like your trouble is in the Is_Null statment.


Try replacing it with the word "Nothing", or just leave it blank.

One of these two options should solve your trouble.

Hope this helps! :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top