- shai hadashi
- PowerBuilder
- Monday, 11 December 2023 08:56 PM UTC
Hello,
I don't have much experience with OLE Objects and don't see too many examples online.
I am using the OLE control and able to get a signature from the TOPAZ signature pad in the IDE. When running the EXE I am getting "Error accessing External Object property". Am I missing something? I saw a few places that mentioned 'Installing the OLE Object". I am not sure how to do that.
I followed this thread and got the code example that was shared.
Here is the window open event script. The TabletState property assignment is where it errors out. It seems like the OLE doesn't work in the EXE but runs fine in the IDE.
Thanks in advance,
Shai
//If no signature pad - exit
TRY
ole_sigplus1.object.TabletState=1
CATCH (runtimeerror er)
MessageBox("Error",er.GetMessage() ,StopSign!)
close(w_signature)
RETURN
END TRY
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.