|
||
Title: OLE lDispatch exception code 0 from FTFPC Post by roenigk on Apr 27th, 2012, 10:36am 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 |
||
Title: Re: OLE lDispatch exception code 0 from FTFPC Post by Serge Frost on Apr 30th, 2012, 2:13am 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. |