Hi,
How could I get the more meaningful OLE ERROR in VFP in order to control handle the error more effectively?
For example usign MSCOMM.ocx:
WITH MSCOMM
.CommPort=2
.Settings="9600,N,8,1"
.PortOpen=.t.
.InputLen=1
ENWITH
From the code above, I may get error for "Port already opened!" or "Invalid Port Number!", but VFP return the same error code.. how could I determine what error actually occurs?
Thank you
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...