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 

Getting Address !..

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (Desktop)
View previous topic :: View next topic  
Author Message
fer
Guest





PostPosted: Sat Feb 21, 2004 8:57 pm    Post subject: Getting Address !.. Reply with quote



Hi

Paramstr (0) returns the exe file name and address.

When call from the local computer it returns like
c:proMyExeFile.Exe

When call from another computer on the net it returns like
\servercompproMyExeFile.Exe

I want to get the same addres (The 2nd one) from the local computer.
(If there is no network it must be a correct address. I mean if there is a
single computer, the address must show the correct path)

Any Suggestion

Thanks
Fer


Back to top
John Herbster (TeamB)
Guest





PostPosted: Sat Feb 21, 2004 9:36 pm    Post subject: Re: Getting Address !.. Reply with quote




"fer" <feriduntakis (AT) spyahoo (DOT) com> wrote
Quote:
Paramstr (0) returns the exe file name and address.
When call from the local computer it returns like
c:proMyExeFile.Exe
When call from another computer on the net it returns like
\servercompproMyExeFile.Exe

Fer, I suggest asking in the forum
borland.public.delphi.nativeapi.win32
This forum is for database answers.
Regards, JohnH

Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (Desktop) 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.