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
Is isql supported in SQL 2008
How do I upgrade firmware on Netgear wg103
jQuery: Add div at beginning of other div
Office Language Settings on Remote Desktop Server 2008 R2
How do I invoke a Java script for onkeypress for a dynamically added control?
Enable overcommitment in Xenserver 5.6
SID History/re-ACL'ing when moving to new AD forest
Trouble installing Panasonic Printer/Copier devices on SBS 2008
ASP.NET Error: The page was not displayed because the request entity is too large.
Popup details on mouse hover using Jquery