Hi there,

I have been developing an application in C#.NET which needs to extract embedded office documents (DOC,XLS,PPT) from office documents (DOC,XLS,PPT)
For this i have been using the COM Interop Assembly exposed by .NET for Microsoft Office.
But i am having problem when i deal with Excel File. I have been getting these two errors:

1. Error: Exception from HRESULT: 0x800A03EC
2. Error: Call was rejected by callee. (Exception from HRESULT:
0x80010001 (RPC_E_CALL_REJECTED))

These errors are highly unpredictable.
I have googled a lot and someone has suggested to use Sleep(1000) of kernel32.dll but this aint solving my problem.

I want to request you shade me some light on this error and how can i solve it?
I have been rambling around internet for days now?

Please help me

miztaken