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
ATM clocking
how can i get Hard Disk Serial number (unique) in C#.net web application ??
Microsoft Outlook 2007 is pulling duplicate emails from free hotmail live server - how can I prevent this, its driving me mad.
Enumerable or Strongly typed List of Guids
iPhone Active sync with exchange server
swf file won't play on the web
How to Transfer All ZIP files from a FTP Directory using Powershell
Order of constructor calls
Problem getting the Selected value of a CheckBoxList (used in a gridview)
Update HP onboard administrator SSH version?