Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need Help with Error #1426
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00453780
Message ID:
00453894
Views:
29
Michael,
Check out MSKB Article Q178510. It seems to apply.

HTH.

>Greetings,
>
>I'm at a loss of how to resolve an error a client periodically experiences, which I cannot duplicate on my system.
>
>The application is programmatically constructing an Excel spreadsheet and there is a particular area where data is being sent to cells. The odd thing is that a number of methods are being used to send various data to cells, but it is only this one place which is causing the error.
>
>The section of code starts like this:
>
>
>LPARAMETERS poExcel, pnRow, pcPhone, pdActivationDate, ;
>   pdTerminationDate, pnDays
>
>poExcel.Cells(pnRow,  1) = pcPhone
>poExcel.Cells(pnRow,  2) = pdActivationDate
>poExcel.Cells(pnRow,  3) = pdTerminationDate
>poExcel.Cells(pnRow,  4) = pnDays
>.
>.
>.
>
>
>The process of sending data is no different than other areas, but this place is causing the following error:
>
>Error# 1426, OLE Code 0x800203ec Unknown, Com Status Code
>
>According to the HELP system, it simply says:
>
>OLE error code 0x"name" (Error 1426)
>You have received an error code from OLE (in hex), and a brief description of the error. The remedy depends on the error returned by OLE.

>
>Does anyone have an idea what could be causing this error? It's very frustrating, and the client of course wants it eliminated. Ignoring the error and letting it resume does not appear to cause any trouble, so I'm considering trapping the error and doing RESUME NEXT. However, I'd like to know what is causing it.
>
>Thanks!
>Michael Reynolds
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform