Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLE Error Code
Message
 
 
To
10/01/2001 14:15:48
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Miscellaneous
Thread ID:
00461814
Message ID:
00461836
Views:
15
>Can anyone tell me where I can find where OLE Error codes are defined and laid out? Not sure what the code The server threw an exception means..

Basically, it means "you're SOL." < g > (but you already knew THAT!)

The errors that one can expect from Automation are:
1420 - OLE object is invalid or corrupted.
1421 - Cannot activate the OLE server.
1423 - Error creating the OLE object.
1424 - Error copying the OLE object to Clipboard.
1426 - OLE error code 0x "name".
1427 - OLE IDispatch exception code "name".
1428 - OLE IDispatch exception code "number" from "server": "name".
1429 - "OLE error".
1440 - OLE exception error "name". OLE object may be corrupt.

Note that 1426 - 1429 can return any kind of error, from irritating syntax errors (that you can ignore through to see if the rest of your code runs) to fatal errors indicating that the server's disconnected or barfed, and you better get out unless you like pressing "Ignore" (this from the Developer's perspective, not the user's perspective!).

Hope this helps,

- della
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform