BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Microsoft Office 2003 Server Components Compatibility with D

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OLE Automation
View previous topic :: View next topic  
Author Message
ZZ_Scarab
Guest





PostPosted: Fri Dec 12, 2003 7:58 pm    Post subject: Microsoft Office 2003 Server Components Compatibility with D Reply with quote



I have Delphi 7 Enterprise installed on my system along with Office XP. I'm
about to upgrade my Office XP to Office 2003. I have the following
questions:

1. Is there anything I need to do to my Delphi Office server components to
make sure I don't break anything?
2. Does anyone know of any issues associated with these server components
continuing to work with Office 2003?
3. If anyone has used the Delphi 8 beta, are there any issues with those
server components in Delphi 8 working with Office 2003?

Any advice would be greatly appreciated.

Thanks


Back to top
Philip L Jackson
Guest





PostPosted: Fri Dec 12, 2003 10:56 pm    Post subject: Re: Microsoft Office 2003 Server Components Compatibility wi Reply with quote



The following may be of use....

I use Delphi 6 Ent and when we try to Mail Merge Office 2003 we are getting
error messages

"the requested object is not available" - the code has worked OK on XP
and all versions before but not on Office 2003

I would desparately like to know a solution as I have customers who are
upgrading to 2003 and then can not use the Mail Merge with our application.

Philip L Jackson



"ZZ_Scarab" <w_b1o2c3t4o5r6 (AT) hotmail (DOT) com> wrote

Quote:
I have Delphi 7 Enterprise installed on my system along with Office XP.
I'm
about to upgrade my Office XP to Office 2003. I have the following
questions:

1. Is there anything I need to do to my Delphi Office server components to
make sure I don't break anything?
2. Does anyone know of any issues associated with these server components
continuing to work with Office 2003?
3. If anyone has used the Delphi 8 beta, are there any issues with those
server components in Delphi 8 working with Office 2003?

Any advice would be greatly appreciated.

Thanks





Back to top
Deborah Pate (TeamB)
Guest





PostPosted: Sun Dec 14, 2003 7:16 pm    Post subject: Re: Microsoft Office 2003 Server Components Compatibility wi Reply with quote



< 1. Is there anything I need to do to my Delphi Office
server components to make sure I don't break anything?
Quote:


Sorry, I haven't got Office 3003, but if you use the
components for the earliest version of Office you want your
app to be compatible with, they /should/ work fine with
later versions. (Of course it ultimately depends on MS.)

--
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



Back to top
Philip L Jackson
Guest





PostPosted: Tue Dec 16, 2003 4:19 pm    Post subject: Re: Microsoft Office 2003 Server Components Compatibility wi Reply with quote

We are having problems with 2003 as illustrated below....

Regards

PLJackson

With the new version of office we are getting error messages

"the requested object is not available" - the code below has worked OK on XP
and all versions before.

Are there any mods I need to do for 2003 compatability? In my uses clause I
call word97.

Thanks in advance

Philip L Jackson

WordApplication:= TWordApplication.create(self);
try
with WordApplication do
begin
ConnectKind := ckNewInstance;
Connect;
Visible := TRUE;
FileName := SelectedFile;
try
WordDocument:= TWordDocument.create(self);

WordDocument.ConnectTo(WordApplication.documents.Open(fileName, emptyparam,
emptyparam, emptyparam,
emptyparam, emptyparam, emptyparam, emptyparam,
emptyparam, emptyparam));
WordDocument.MailMerge.Destination := wdSendToNewDocument;

confirm := FALSE;
Format := wdOpenFormatAuto;
FileToOpen := TempDocTable.TableName;

WordDocument.mailMerge.Execute(emptyparam);
WordApplication.ActiveWindow.DisplayVerticalScrollBar
:=TRUE;
savechanges := wdDoNotSaveChanges;
SystemTable.Active := TRUE;
WordApplication.ActiveWindow.WindowState
:=wdWindowStateMaximiz

Visible := TRUE;
except on E:Exception do
begin
MessageDlg(E.Message,mtError,[mbOK],0);
WordApplication.Quit;
end;
end;
end; // end of with WordApplication do
finally
WordApplication.Free;
WordDocument.Free;
end;






"Deborah Pate (TeamB)" <d.pate (AT) blueyonder (DOT) co.not-this-bit.uk> wrote in
message news:VA.00001de2.423521b8 (AT) blueyonder (DOT) co.not-this-bit.uk...
Quote:
ZZ_Scarab:
1. Is there anything I need to do to my Delphi Office
server components to make sure I don't break anything?


Sorry, I haven't got Office 3003, but if you use the
components for the earliest version of Office you want your
app to be compatible with, they /should/ work fine with
later versions. (Of course it ultimately depends on MS.)

--
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





Back to top
Al
Guest





PostPosted: Tue Dec 23, 2003 3:55 pm    Post subject: Re: Microsoft Office 2003 Server Components Compatibility wi Reply with quote

For MailMerge in Word 2003 follow the instructions at
http://support.microsoft.com/default.aspx?scid=kb;en-us;825765
and "the requested object is not available" goes away.

Al Wilton
AZ PC Success

"Philip L Jackson" <philip (AT) pcdata-no-spam (DOT) co.uk> wrote

Quote:
The following may be of use....

I use Delphi 6 Ent and when we try to Mail Merge Office 2003 we are
getting
error messages

"the requested object is not available" - the code has worked OK on XP
and all versions before but not on Office 2003

I would desparately like to know a solution as I have customers who are
upgrading to 2003 and then can not use the Mail Merge with our
application.

Philip L Jackson



"ZZ_Scarab" <w_b1o2c3t4o5r6 (AT) hotmail (DOT) com> wrote in message
news:3fda1dd5 (AT) newsgroups (DOT) borland.com...
I have Delphi 7 Enterprise installed on my system along with Office XP.
I'm
about to upgrade my Office XP to Office 2003. I have the following
questions:

1. Is there anything I need to do to my Delphi Office server components
to
make sure I don't break anything?
2. Does anyone know of any issues associated with these server
components
continuing to work with Office 2003?
3. If anyone has used the Delphi 8 beta, are there any issues with those
server components in Delphi 8 working with Office 2003?

Any advice would be greatly appreciated.

Thanks







Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi OLE Automation All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.