Tablet PC programming in VB

Jun 10 2004 5:39 PM
I have a couple of previous posts that outline this problem, but I thought I would post the whole thing here in hopes of finding a resolution. I have to ink-enable an Access application. I have referenced the Tablet PC type library 1.0 within the project. I am able to save the ink from an inkpicture control to the access database in base64 format. I am unable to load the inkpiture control with any ink data from the database. Here is the code I am trying to use to populate the control: dim inkbytes() as byte dim newink as Ink dim db as new adodb.connection dim rs as new adodb.recordset dim sql as string sql = "select top 1 * from inktable" db.open "DSN=INKDSN" rs.locktype = adLockOptomistic rs.open sql, db inkbytes = rs!inkstrokes newink.load (inkbytes) InkPicture.Ink = newink NOTE: I receive an error message that tells me newink does not support the load method. Also, the "Ink" property does not show up in the list for the InkPicture control. I'm wondering if the problems stem from the fact that I am trying to write this in VBA within an Access module? Right now I'm completely stumped. Any ideas? Thanks. Glenn