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
 
Top