Board index » delphi » Call was rejected by the Callee

Call was rejected by the Callee

I get the above error message when I try to execute,

procedure TForm1.Button1Click(Sender: TObject);
var V: Variant;
begin
V:=CreateOleObject('Excel.Application');
V.Visible:=True;
end;

The code use to work, but somehow Microsoft Word does not want to cooperate.
I have reinstalled both Delphi 5 and Microsoft Office 2000.

Any help would be most appreciated.
Thanks
John Donaldson

 

Re:Call was rejected by the Callee


<<John Donaldson:
The code use to work, but somehow Microsoft Word does not
want to cooperate. I have reinstalled both Delphi 5 and
Microsoft Office 2000.

Quote

I bet you have Norton Antivirus installed - it is
incompatible with Word 2000. The workaround is to run
 Regsvr32 /U "C:\...\Norton AntiVirus\OfficeAV.dll"

--
Deborah Pate (TeamB) http://delphi-jedi.org

  Use Borland servers; TeamB don't see posts via ISPs
  http://www.borland.com/newsgroups/genl_faqs.html

Re:Call was rejected by the Callee


Deborah,
You are really good!
Thanks so much.  I have spent hours days and weeks trying to figure out what
I screwed up.  Never thought about the Norton antivirus I updated to combat
Nimda.  This fixes several other problems as well.

You should be on TEAM A,
Sincerely,
John Donaldson
Florida Department of Revenue

Deborah Pate (TeamB) <d.p...@cableinet.co.not-this-bit.uk> wrote in message
news:VA.00000eb9.003408a4@cableinet.co.not-this-bit.uk...

Quote
> <<John Donaldson:
> The code use to work, but somehow Microsoft Word does not
> want to cooperate. I have reinstalled both Delphi 5 and
> Microsoft Office 2000.

> I bet you have Norton Antivirus installed - it is
> incompatible with Word 2000. The workaround is to run
>  Regsvr32 /U "C:\...\Norton AntiVirus\OfficeAV.dll"

> --
> Deborah Pate (TeamB) http://delphi-jedi.org

>   Use Borland servers; TeamB don't see posts via ISPs
>   http://www.borland.com/newsgroups/genl_faqs.html

Other Threads