Aug 29, 2000 #1 Webrookie Programmer Joined May 18, 2000 Messages 112 Location US Hey, in VB it's App.path in Foxpro it's curdir() what is it in Delphi? I want to get the main path of the application from where the executable is run... any ideas?
Hey, in VB it's App.path in Foxpro it's curdir() what is it in Delphi? I want to get the main path of the application from where the executable is run... any ideas?
Aug 29, 2000 Thread starter #2 Webrookie Programmer Joined May 18, 2000 Messages 112 Location US Nevermind I found it Application.exename; Upvote 0 Downvote
Aug 31, 2000 #3 matrixcd IS-IT--Management Joined Apr 3, 2000 Messages 13 Location US Try using the API call GetCurrentDirectoryA(max_path,CurDir); Upvote 0 Downvote
Aug 31, 2000 #4 zallen Programmer Joined Aug 10, 2000 Messages 227 Location CN try: ExtractFilePath(Application.ExeName); Upvote 0 Downvote