Binding Data in InfoPath

C

Caduceuscoil

I have a data binding problem where I'm trying to save an image (I selected
Picture/Base64 encoding in InfoPath), I have the Propertychanged event fired
in the Set and Get property sections and yet InfoPath won't bind the data.
Both are ByRef as required and the data type is a standard OLE Picture,
nothing fancy here.

Sample Code:
Property Get Signature() As stdole.StdPicture
Set Signature = m_Signature
PropertyChanged "_Signature"
End Property

Property Set Signature(ByRef vData As stdole.StdPicture)
If Not vData Is Nothing Then
Set m_Signature = vData
PropertyChanged "_Signature"
Else
MsgBox "Action Not Allowed!", vbCritical, App.ProductName
End If
End Property

Cliff
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top