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 

UDL and Path

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder Databases (ADO)
View previous topic :: View next topic  
Author Message
sam
Guest





PostPosted: Thu Apr 19, 2007 3:42 am    Post subject: UDL and Path Reply with quote



I am using a *.UDL file to store ADO Connection information.

My question is:

How do I refrence the current Application path as the location of the UDL
file
instead of having to use the whole path

TIA

Sam
Back to top
AlexB
Guest





PostPosted: Thu Apr 19, 2007 8:10 am    Post subject: Re: UDL and Path Reply with quote



sam wrote:

Quote:
I am using a *.UDL file to store ADO Connection information.
My question is:
How do I refrence the current Application path as the location of the
UDL file instead of having to use the whole path

ExtractFilePath(Application->ExeName) + "My.udl"

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