 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Sailor Guest
|
Posted: Fri Jan 23, 2004 6:22 pm Post subject: Delphi5 with Excel |
|
|
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
|
Posted: Fri Jan 23, 2004 9:56 pm Post subject: Re: Delphi5 with Excel |
|
|
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
|
Posted: Sun Jan 25, 2004 1:40 pm Post subject: Re: Delphi5 with Excel |
|
|
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 |
|
 |
|
|
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
|
|