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
Cannot Create a Fax Account in Windows 7
SBS 2008 Small Business Server Internet Activity
Block Logme internally
When I ping 192.168.1.4 I get reply from 192.168.1.127
Difference between Icefaces,myfaces,richfaces
in JSF?
permissions to be able to script objects
acronis disk director server 10
How many keywords is too many in the meta data?
HP z200 Workstation Windows 2008 R2 'PCI serial port' driver and 'PCI Simple Communications controller' driver needed
Cold fusion & SQL CFIF "if variable not present, alt query" problem