Microsoft
Software
Hardware
Network
Question : Specify a Path
Hi,
I need to specify a path, the path should be in the folder Data in my own application folder.
What do I do wrong?
DataPath := '..\Data\'; <===================
dbUTF.Params.Add('PATH=' + DataPath);
Peter Kiers
Answer : Specify a Path
you are looking for a relative path to the current directory
DataPath := ExtractFilePath(ParamStr(0
)) + '\DATA\';
this will take directory from exe and add \data\
Random Solutions
How to get two new Primary keys, sent to two Foriegn keys
Can't boot up my XP system to safe mode, why?
limit browsing on xp machine to one web site
WSUS Clients not reporting to the WSUS console or SBS 2008 Console
exchange 2010, user has left company, simple way to get all users new emails to different user?
Intel(R) Celeron(R) D CPU 3.06GHz on a Linux machine
Broken WSUS on SBS 2003 because of MSDE
Can't locate DBI.pm in @INC
Microsoft System Center Ops Manager 2007 - Reporting
Running the System Update readiness tool.