Sep 11th , 2026, 8:58pm
Author
Topic: OLE lDispatch exception code 0 from FTFPC (Read 10268 times)
roenigk
FabulaTech Forum Newbie
Posts: 1
OLE lDispatch exception code 0 from FTFPC
on: Apr 27th , 2012, 10:36am
Quote Modify
I am trying out this control using MS Visual Foxpro on an XP machine. Four lines of code and two problems thus far. The ActiveX control was dropped successfully on a form. The first two lines are changing the properties in the control. 1. The above OLE error is thrown on the SetSettingsFromString() function. 2. GetLastError() is return True, rather than a long. THISFORM.FabulaTechControl.Enabled= .T. THISFORM.FabulaTechControl.portName= 'COM1' TRY THISFORM.FabulaTechControl.SetSettingsFromString('2400,N,8,1,P') CATCH lnError= THISFORM.FabulaTechControl.GetLastError() ENDTRY
IP Logged
Serge Frost
FabulaTech Forum Full Member
Gender: Posts: 169
Re: OLE lDispatch exception code 0 from FTFPC
Reply #1 on: Apr 30th , 2012, 2:13am
Quote Modify
Greetings! Please take my apologies for this little inconvenience. I have never used Visual FoxPro so I will need some time get know how it works. Is it possible to send me a little sample of code so I can compile it and to see this error? support@fabulatech.com - this is my email. Also I would like to continue our conversation via e-mail. Thank you! I look forward for your next message.
IP Logged
Accessibility preferences
Text size:
Follow OS settings
Larger
Largest
Contrast:
Follow OS settings
Normal
High contrast
Animations:
Follow OS settings
Normal
Reduced motion
Close