Online Talk to our
support team or
sales department.
Apr 19th, 2021, 10:26am
Welcome, Guest. Please Login or Register.
Pages: 1  Reply Reply  Notify of replies Notify of replies  Print Print
   Author  Topic: OLE lDispatch exception code 0 from FTFPC  (Read 2098 times)
roenigk
FabulaTech Forum Newbie
*



View Profile         
Posts: 1
OLE lDispatch exception code 0 from FTFPC
« on: Apr 27th, 2012, 10:36am »
Quote Quote  Modify 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
***



View Profile   WWW         
Gender: male Posts: 169
Re: OLE lDispatch exception code 0 from FTFPC
« Reply #1 on: Apr 30th, 2012, 2:13am »
Quote Quote  Modify 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
Pages: 1  Reply Reply  Notify of replies Notify of replies  Print Print

« Previous topic | Next topic »