Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
More meaningful error message...
Message
From
09/12/1999 03:31:58
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
More meaningful error message...
Miscellaneous
Thread ID:
00300867
Message ID:
00300867
Views:
70
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...
Next
Reply
Map
View

Click here to load this message in the networking platform