delphi的intraweb程序(dll模式)中操作word和excel的問题 |
答題得分者是:william
|
sugar
一般會員 發表:6 回覆:15 積分:9 註冊:2003-05-27 發送簡訊給我 |
|
william
版主 發表:66 回覆:2535 積分:3048 註冊:2002-07-11 發送簡訊給我 |
I remember I have seen a knowledge base article for it on Microsoft. Sorry to tell you tell Office is NOT designed to be automated inside a dll. M$ simply said you shouldn't and can't use Office in such way. Don't know if the newer Office has changed this behavior or not.
|
sugar
一般會員 發表:6 回覆:15 積分:9 註冊:2003-05-27 發送簡訊給我 |
|
william
版主 發表:66 回覆:2535 積分:3048 註冊:2002-07-11 發送簡訊給我 |
Although Office can't be used inside a dll, I think you could create an exe preparing the reports and let your dll communicate with the exe running (so you probably need to login). I find another KB on Office automation...
http://support.microsoft.com/default.aspx?scid=kb;EN-US;288368
|
本站聲明 |
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。 2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。 3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇! |