RE: Excel interoperability problem
- From: v-phuang@xxxxxxxxxxxxxxxxxxxx ("Peter Huang" [MSFT])
- Date: Fri, 15 Sep 2006 07:13:04 GMT
Hi,
From you description, I understand that you want to run a winformapplication with embedded Excel Object. And in the meantime, you will have
an Excel Application running.
Now if we launch the Winform Forms application first and then launch the
Excel, all is OK.[Secenario A]
But if now we launch the Excel Application first, and then the Winform
Application later, the Excel Application will not reponse to user's
interation.[Scenario B]
If I misunderstood, please feel free to let me know.
Firstly I would like to know what is the Excel Object Embedded in the
Winform. Did you host a WebBrowser in Winform and then open a Excel
Workbook in the WebBrowser? Or how did you embed the Excel Object into
winform.
Based on my experience, I wonder this may be caused by that there is only
one Excel process in the problem case[Scenario B].
You may try to check how many Excel.exe process in both Scenario A and B
with Task Manager.
1. Press Ctrl+Shift+ESC, the Task Manager will open
2. Press the Processes Tab, check how many Excel.exe process exist in
Scerario A and B.
You may have a try and let me know the result.
If the above assumption is the case, please let me know how you embedded
the Excel Object into Winform to see if there is any workaround.
But based on my knowlege, it is hard to control that, this is all done by
OLE.
If you still have any concern, please feel free to let me know.
I look forward to hearing from you.
Best regards,
Peter Huang
Microsoft Online Community Support
==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
.
- Follow-Ups:
- RE: Excel interoperability problem
- From: jpl
- RE: Excel interoperability problem
- Prev by Date: time problem
- Next by Date: Re: Ability to enumerate or get a listing of DocumentProperties/ CustomDocumentProperties for a Word Doc
- Previous by thread: time problem
- Next by thread: RE: Excel interoperability problem
- Index(es):
Relevant Pages
|