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 

Delphi5 with Excel

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





PostPosted: Fri Jan 23, 2004 6:22 pm    Post subject: Delphi5 with Excel Reply with quote



Hi everyone!
I can't resolve problem with file path.
var
N: String;
N:= 'DirectoryDirectoryFilename.xls';
TExcelApplication.Open(N,EmptyParam,......);
It works normally with english version of Windows but with russian no.
I need to indicate drive during program's instalation.


Back to top
Mike Shkolnik
Guest





PostPosted: Fri Jan 23, 2004 9:56 pm    Post subject: Re: Delphi5 with Excel Reply with quote



Can you use the ExpandFileName function?

--
With best regards, Mike Shkolnik
E-mail: [email]mshkolnik (AT) scalabium (DOT) com[/email]
WEB: http://www.scalabium.com

"Sailor" <sailorin (AT) vk (DOT) km.ua> wrote

Quote:
Hi everyone!
I can't resolve problem with file path.
var
N: String;
N:= 'DirectoryDirectoryFilename.xls';
TExcelApplication.Open(N,EmptyParam,......);
It works normally with english version of Windows but with russian no.
I need to indicate drive during program's instalation.





Back to top
Volodymyr A.
Guest





PostPosted: Sun Jan 25, 2004 1:40 pm    Post subject: Re: Delphi5 with Excel Reply with quote



Thnks Mike! It works, but filename must be written with all directories but
it's ok. ExpandFileName('DirectoryDirectoryFilename.xls').
Thnks again Mike!

Mike Shkolnik <mshkolnik2002 (AT) ukr (DOT) net> пишет в
сообщении:401199a0 (AT) newsgroups (DOT) borland.com...
Quote:
Can you use the ExpandFileName function?

--
With best regards, Mike Shkolnik
E-mail: [email]mshkolnik (AT) scalabium (DOT) com[/email]
WEB: http://www.scalabium.com

"Sailor" <sailorin (AT) vk (DOT) km.ua> wrote in message
news:401166c1$1 (AT) newsgroups (DOT) borland.com...
Hi everyone!
I can't resolve problem with file path.
var
N: String;
N:= 'DirectoryDirectoryFilename.xls';
TExcelApplication.Open(N,EmptyParam,......);
It works normally with english version of Windows but with russian no.
I need to indicate drive during program's instalation.







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.