This is driving me crazy
Can anyone tell me what I should do?
Thanks in advance
Mark
nobody likes me, nobody understands me, nobody talks to me ...
Then, the only person which understands my problem is I.
I fixed it = I don't use TOleContainer, as it is just a container, not
really a living object...
"Mark Sandy" <msa...@csiberlin.de> schrieb im Newsbeitrag
news:3e68bd3d$1...@newsgroups.borland.com...
Hi mark,
you can't OleVariant direct as an Interface. You must first do a cast :
(OleContainer1.OleObject as IUnknown) as Application (the root interface of
excel, i don't remember at the moment).
regards
Oliver
--
Oliver Albrecht
Albrecht Software Solutions
Remove the ns_ from the address before e-mailing.
You have to activate the object before accessing it:
Olecontainer.DoVerb(ovShow);
--
Deborah Pate (TeamB) http://delphi-jedi.org
TeamB don't see posts sent via Google or ISPs
Use the real Borland server: newsgroups.borland.com
http://www.borland.com/newsgroups/genl_faqs.html