Article View: borland.public.cppbuilder.nativeapi
Article #16321OleContainer
From: Andrew Ryzhokhin
Date: Wed, 21 May 2003 18:32
Date: Wed, 21 May 2003 18:32
21 lines
1704 bytes
1704 bytes
Hello All
I use OleContainer in bcb5+Office2000:
OleContainer1->CreateObjectFromFile("report.xls",true);
if(OleContainer1->State != osEmpty)
OleContainer1->DoVerb(ovShow);
If is open Excel before start of my program, after start of my
program and opening of the necessary file in OleContainer occurs
strange. At switching between my program and Excel, he does not
become active (focus comes back in my application). That is in
parallel to work with the document in OleContainer and with other
documents in environment Excel it is impossible.
With the documents Word such problem no.
Thanks.
PS. I am sory from my bad English.
--
Good Luck,
Andrew Ryzhokhin mailto:andrew@ardas.dp.ua
Technical Details
Message-ID:
<1104_1053541952@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!38.144.126.76.MISMATCH!feed2.newsreader.com!newsreader.com!newshosting.com!news-xfer2.atl.newshosting.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,e940d886645e30d5,start X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-05-21 11:44:13 PST From: Andrew Ryzhokhin <andrew@ardas.dp.ua> Newsgroups: borland.public.cppbuilder.nativeapi Subject: OleContainer Message-ID: <1104_1053541952@newsgroups.borland.com> Date: Wed, 21 May 2003 18:32:32 GMT Content-Type: text/plain; charset="windows-1251" User-Agent: Mozilla/4.0 (compatible; MSIE 5.0; Windows 2000) Opera 6.01 [ru] NNTP-Posting-Host: 212.86.249.86 X-Trace: newsgroups.borland.com 1053542141 212.86.249.86 (21 May 2003 11:35:41 -0700) Lines: 23 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!38.144.126.76.MISMATCH!feed2.newsreader.com!newsreader.com!newshosting.com!news-xfer2.atl.newshosting.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail