🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.database.ado
2 messages
2 total messages Started by sam Wed, 18 Apr 2007 22:42
UDL and Path
#151
Author: sam
Date: Wed, 18 Apr 2007 22:42
11 lines
1079 bytes
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 
Re: UDL and Path
#153
Author: AlexB
Date: Thu, 19 Apr 2007 06:36
11 lines
1030 bytes
sam wrote:

> 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.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads